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...


Write a program to enter the name and age.
If age>28 then find salary categories.
if age<28 then find that you are gaduate or not.



Write a program to enter the name and age. If age>28 then find salary categories. if age<28 ..

Answer / rohith

#include<stdio.h>
#include<conio.h>
void main()
{
int emp num,emp salary,age;
printf("enter the age");
scanf("%d",&age);
if(age>28)
{
printf("ener the emp num");
scanf("%d",emp name);
printf("enter the salary of the emp");
printf("%d", salary);

else
printf("he was not emp");
}
getch();
}

Is This Answer Correct ?    4 Yes 1 No

Post New Answer

More C Interview Questions

why TCS selected more student in the software field from all institution.

5 Answers   TCS,


Find the largest number from the given 2 numbers without using any loops and the conditional operator.

2 Answers  


using for loop sum 2 number of any 4 digit number in c language

0 Answers  


who is the founder of c

19 Answers   College School Exams Tests, HP,


can anyone please tell about the nested interrupts?

0 Answers  


Write the syntax and purpose of a switch statement in C.

0 Answers   Adobe,


while running a program, i got the msg that press return key to exit.what that mean in C as there are no such options as far i know.

1 Answers   TCS,


In which layer of the network datastructure format change is done

0 Answers   Honeywell,


c program to input values in a table(using 2D array) and print odd numbers from them

1 Answers  


What is structure in c language?

0 Answers  


which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above

0 Answers  


formula to convert 2500mmh2o into m3/hr

0 Answers  


Categories