No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
` #include<stdio.h> main() { int b,c; printf("enter c :"); scanf("%d",&c); printf("enter b :"); scanf("%d",&b); printf("%d", gem()); getch(); return 0; } int gem(int b,int c) { int a; a=b+c; return a; } ` |
|
#include <stdio.h> #define p printf #define s scanf main() { int q,num[2000],sum,i,a,b; float mul,t,grade,quiz,d; { p("enter the the total quiz:"); s("%f",&t); p("enter the no. quiz:"); scanf("%d",&q); p("enter five no sepeerated by enter :\n"); for(i=0;i<q;i++) s("%d",&num[i]); sum=0; for(i=0;i<q;i++) sum=sum+num[i]; p("the sum of array :%d",sum); mul=sum/t; p("\ntotal:%f",mul); grade=mul*100; p("\n total is: %f",grade); … |
|
think a program that you can combine decision ,looping,recursion,array and function i find it hard to think a program that you can incoperate it all. |
|
Please help me to make a program in turbo c that will let you guess the password. but if it is wrong the program will ask you do you want to continue y or n ,if y it will display again what is the password if no end the program |