Skip to content

GalibDev/Add-two-float-number

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

//write a "C" program to add a folat number. #float=fraction number -------2.5,5.6,4.9etc...... in this formate we can sum float numbers or multiply as the same formate. there is the basic code written #include <stdio.h> #include <conio.h> void main() {

float n1,n2,n3; printf("Enter the first number"); scanf("%f", &n1); printf("Enter the second number"); scanf("%f",&n2);

printf("ENter the third number"); scanf("f",&n3); sum =n1+n2+n3; printf("sum of three numbers=%f"sum);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages