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.

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

which type of aspect you want from the student.

2153


how to print the character with maximum occurence and print that number of occurence too in a string given ?

2448


Explain how can I right-justify a string?

1034


Can you tell me how to check whether a linked list is circular?

1391


What is variable declaration and definition in c?

884


pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)

2633


What is use of null pointer in c?

995


If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.

2259


What is a macro?

1088


What are enums in c?

1184


What is a memory leak? How to avoid it?

1321


Differentiate Source Codes from Object Codes

1543


What is a pointer on a pointer in c programming language?

1129


In C programming, how do you insert quote characters (‘ and “) into the output screen?

1511


write a program to find out prime number using sieve case?

2076