Millillion Tech
Be involved with technology
Home
Buy Product Online
Medical & Health
Educational
Computer & Technology
Downloads
Books
Tutorials
Software
Windows
Computer Science
Programming Languages
C
C++
Ruby
Java
Python
Data Sructure
Software Development
Web Design & Development
Robotics
Academic
Help
Educational help
Technical Help
About Us
Translate
Categories
C Programming Problem Solving
Data Structure Problem Solving
Download
INNER POST ADS
Powered by
Blogger
.
Thursday, June 4, 2015
Write a C program that calculate the average of three integers. Input the values from user.
12:49 AM
C Programming Problem Solving
No comments
#include<stdio.h>
void main()
{
float a,b,c,avrg;
printf("A? ");
scanf("%f", &a);
printf("B? ");
scanf("%f", &b);
printf("C? ");
scanf("%f", &c);
avrg= (a+b+c)/3;
printf("%f", avrg);
}
Download source code
Email This
BlogThis!
Share to X
Share to Facebook
Newer Post
Older Post
Home
0 comments:
Post a Comment
Social Profiles
Popular Posts
Archives
Blog Archive
▼
2015
(25)
►
August
(6)
▼
June
(10)
Using linked list, write a C program, that will in...
Queues implementation( add, remove, peek) in C pr...
Stack implementation( Push, Pop, Display) in C pro...
C Programming- linked list, creating nodes, insert...
C programming code for leap year.
Write a C program that will input some students' o...
Write a C program that will convert temperature fr...
Write a C program that calculate the average of th...
Write a C programm that will calculate the area of...
Write a C program thar will enter a line of text, ...
►
May
(9)
Popular Posts
0 comments:
Post a Comment