You are on page 1of 4

Machine Problems

Turbo C
Create a program that will ask the age of
a person and will print the months, weeks,
days, hours and minutes old.
Save your program in your folder in My
Documents as MP1(age) then write it to
your floppy disk.

MP#1: AGE (arithmetic)


Create a program that will ask for the
grade and display the remark. If the
grade is greater than or equal to 75 then
the remark is passed else failed.
Save your program as MP2(grade) in your
folder in My Documents then have a copy
in your diskette.

MP#2: Grade (if-else)


Create a program that will run your name
across the screen.
Save your program as MP3(name) in your
folder in My Documents then have a copy
in your diskette.

MP#3: Name (looping)