Learn Programming
skip to main
|
skip to sidebar
Home
C - Programming part 1
Introduction To C
History Of C
Basic C 1
Basic Q and A
Variables And DataTypes
Variables
DT-Integer
DT-Float
DT-Double
DT-Character
Q and A
Expression-Statement-Token
Expression-Statement
Token-Key Words-Identifiers
Constants
Operators
Q and A
Decision And Loop Control
DCS - If
DCS - ifelse and elseif
Switch
Goto
LCS - for loop 1
LCS - for loop 2
LCS - while loop
LCS - do...while
Break and Exit
Q and A
Array
Basic On Array
Two Dimensional Array
Three Dimensional Array
Q and A
Function
Multifile Program And Storage Class
Pointers
String
Structure And Union
User Defined Data Type
Bitwise Operators
C - Programming Part 2
Menu 1
Menu 2
Menu 3
Menu 3.1
Menu 3.2
Menu 3.3
Menu 3.4
Menu 4
Menu 5
Programming Q and A
Menu 1
Menu 2
Menu 3
Menu 4
Menu 5
C++
Practice Programs
Basic C Programming Practice
C Programming Practice
Projects
Home
Home
»
Basic C Programming Practice
,
Practice Programs
» Basic C Programming Practice - Practice 26
Basic C Programming Practice - Practice 26
Written By Unknown on Friday, October 11, 2013 | 12:08 AM
=>
Write a program in C to read and print the given double with two
decimal places?
Solution :
#include<stdio.h>
#include<conio.h>
main()
{
double a;
scanf("%lf", &a);
printf("%10.2lf", a);
getch();
}
Program Analysis :
Share this article
:
Post a Comment
« Prev Post
Next Post »
Home
Like Pl Learner
Tweet
Advertisement
Labels
Array
(3)
Basic C 1
(1)
Basic C 2
(1)
Basic C Programming Practice
(35)
Basic On Array
(1)
C - Programming part 1
(21)
C++
(1)
Constants
(1)
DCS - If
(1)
DCS - ifelse and elseif
(1)
Decision And Loop Control
(6)
DT-Character
(1)
DT-Double
(1)
DT-Float
(1)
DT-Integer
(1)
Expression-Statement
(1)
Expression-Statement-Token
(4)
History Of C
(1)
Introduction To C
(3)
LCS - do...while
(1)
LCS - for loop 1
(1)
LCS - for loop 2
(1)
LCS - while loop
(1)
Operators
(1)
Practice Programs
(35)
Three Dimensional Array
(1)
Token-Key Words-Identifiers
(1)
Two Dimensional Array
(1)
Variables
(1)
Variables And DataTypes
(5)
Page Revolber
Hope You are enjoying through learning.Keep visiting...
Support :
Creating Website
|
Johny Template
|
Mas Template
Copyright © 2011.
Learn Programming
- All Rights Reserved
Template Created by
Creating Website
Published by
Mas Template
Proudly powered by
Blogger
| Distributed by
Rocking Templates
Post a Comment