Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


WAP to accept rollno,course name & marks of a student &
display grade if total marks is above 200?

Answers were Sorted based on User's Feedback



WAP to accept rollno,course name & marks of a student & display grade if total marks is ab..

Answer / don

Frnds plss tell me the answer

Is This Answer Correct ?    17 Yes 6 No

WAP to accept rollno,course name & marks of a student & display grade if total marks is ab..

Answer / rohit

#include<stdio.h>
#include<conio.h>
struct mix
{
int rollno,m1,m2,m3,total;
char cn;
};
void main()
{
mix s1;
printf("Enter roll no:");
scanf("%d",&s1.rollno);
printf("Enter course name:");
scanf("%s",s1.cn);
printf("Enter marks of 3 subjects out of 150:");
scanf("%d%d%d",&s1.m1,&s1.m2,&s1.m3);
s1.total=s1.m1+s1.m2+s1.m3;
if(s1.total>200)
{
printf("A grade");
}
getch();
}

Is This Answer Correct ?    23 Yes 15 No

WAP to accept rollno,course name & marks of a student & display grade if total marks is ab..

Answer / kundan

wap a program find out bawchera dital

Is This Answer Correct ?    4 Yes 6 No

WAP to accept rollno,course name & marks of a student & display grade if total marks is ab..

Answer / kundan kumar

this question is tru

Is This Answer Correct ?    4 Yes 6 No

Post New Answer

More C Interview Questions

Is there something we can do in C but not in C++? Declare variable names that are keywords in C++ but not C.

2 Answers   Infosys,


m=++i&&++j(||)k++ printf("%d"i,j,k,m)

1 Answers   ABC,


Explain command-line arguments in C.

1 Answers  


main() { printf("hello%d",print("QUARK test?")); }

5 Answers  


What is dangling pointer in c?

0 Answers  


In the following control structure which is faster? 1.Switch 2.If-else and which consumes more memory?

4 Answers  


What is the difference between memcpy and memmove?

0 Answers  


What is Generic pointer? What is the purpose of Generic pointer? Where it is used?

3 Answers  


Why c is procedure oriented?

0 Answers  


The process of repeatedly running a set of computer instructions until some condition is specifed a) condition b) sequential condition c) global d) iteration

0 Answers  


what does static variable mean?

0 Answers   TCS,


Describe for loop and write a c program to sum the series X + x2/2! + x3 /3! + …….. up to fifteen terms.

2 Answers  


Categories