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

What are the advantages of using new operator as compared to the function malloc ()?

0 Answers   NIIT,


How do you write a program which produces its own source code as its output?

2 Answers  


Write a program to find whether the given number is prime or not?

6 Answers  


What is wrong with this program statement? void = 10;

0 Answers  


array contains zeros and ones as elements.we need to bring zeros one side and one other side in single parse. ex:a[]={0,0,1,0,1,1,0,0} o/p={0,0,0,0,0,1,1,1}

12 Answers   Google, Motorola,


What is binary tree in c?

0 Answers  


Why do we need functions in c?

0 Answers  


How can a string be converted to a number?

0 Answers  


Define and explain about ! Operator?

0 Answers  


What are structure types in C?

0 Answers  


What is C language ?

0 Answers   Jekson,


Can you assign a different address to an array tag?

0 Answers  


Categories