Skip to content

Instantly share code, notes, and snippets.

@sachinsaxena25
Created August 1, 2019 15:20
Show Gist options
  • Save sachinsaxena25/1807afabf96363ecc0641075316305b8 to your computer and use it in GitHub Desktop.
Save sachinsaxena25/1807afabf96363ecc0641075316305b8 to your computer and use it in GitHub Desktop.
#include<stdio.h>
int main(void){
float a = 0.0f;
float b = 0.0f;
float c = 0.0f;
printf("please enter the first number:\n");
scanf("%f", &a);
printf("please enter the second number:\n");
scanf("%f", &b);
c = a * b;
printf("multiply of numbers:%.2f", c);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment