1. Write a program to enter full name and print it on screen.

#include<stdio.h>
void main()
{
char name [100] ;
puts( " Enter your full name");
  gets(name);
puts(" Your Name is :");
puts (name);
}

2. Write a program to input name, age and salary and print them on screen.

#include<stdio.h>
void main()
{
char name[50] ;
int age ;
float salary;
printf (" Enter name");
gets (name);
Printf (" Enter age");
scanf("%d",&age);
Printf (" Enter salary");
scanf( "%d",& salary);
Printf (" Name= %s",name);
Printf ("\n Age= %d \nSalary = %.2f ",age, salary);
}

3. Write a program to input two numbers and print remainder and quotient.

#include<stdio.h>
Void main()
{
int a,b,c ;
print("%d%d",&a,&b);
c= a/b ;
d= a%b;
printf(" quotient= %d",&c);
printf (" remainder = %d",&d) ;

}

4. Write a program to input seconds and convert it into hour,minutes and seconds.

#include<stdio.h>
void main()
{
int s,h,d,m,a ;
printf ( "Enter seconds");
scanf( "%d",&s);
h= s/3600; //for hour
r= s%3600 ;
m= r/60; //for minutes
d= r%60; //for seconds
printf( "hour = %d minutes= %d seconds=%d",h,m,d);

}