#include<stdio.h> int main() { int p,r,t,int_amt; printf("Input principle, Rate of interest & time to find simple interest: \n"); scanf("%d%d%d",&p,&r,&t); int_amt=(p*r*t)/100;...
C
#include<stdio.h> int main() { int length, breadth, area,perimeter; printf("\nEnter the Length of Rectangle : "); scanf("%d", &length); printf("\nEnter the Breadth...
#include<stdio.h> #include<conio.h> #include<math.h> int main() { int sec, hh, mm, ss; clrscr(); printf("Enter time in seconds: "); scanf("%d", &sec); hh...
#include <stdio.h> void main(){ int num,r,sum=0,t; printf("Input a number: "); scanf("%d",&num); for(t=num;num!=0;num=num/10){ r=num % 10; sum=sum*10+r; } printf("The number in...
#include<stdio.h> #include<conio.h> main() { int r,n,m,sum; printf("Enter a Positive Integer :"); scanf("%d",&n); if(n<0) printf("The Entered number is not +ve Integer");...
#include <stdio.h> int main() { int a, b, maximum; printf("Enter Two Integers\n"); scanf("%d %d", &a, &b); if(a == b){ printf("Both...
#include<stdio.h> int main() { int a, e, f, n; clrscr(); printf(" How many integer numbers : ") ; scanf("%d", &n);...