Monday, September 9, 2019

Product of floating pt.no. sheet 1 sem 1

#include <stdio.h>
main()
{  float a,b,prod;
printf("enter the two number 1...\n");
scanf("%f",&a);
printf("enter the no.2\n");
scanf("%f",&b);
prod=a*b;
printf("%f is product of %f and %f",prod,a,b);
}

No comments:

Implement stsStr Leetcode solution

  28.   Implement strStr() Easy Implement  strStr() . Given two strings  needle  and  haystack , return the index of the first occurrence of...