Computer Pascal project
1¸¹,11¸¹,21¸¹,31¸¹¦P41¸¹
Set 1:Write a Pascal program to do the following tasks.
Task 1:Print your name, class and class number on the screen.
Task 2:Ask the user to input his/her name and say hello to him/her.
Task 3:Ask the user to input three numbers.
Task 4:Arrange the three numbers in ascensding order.
Challengin task: Ask the user to input four numbers and arange them in
ascending
order.
Save the program on a floppy disk and submit to your computer teacher 10 days after today.
2¸¹,12¸¹,22¸¹,32¸¹,42¸¹
Set 2:Write a Pascal program to do the following tasks.
Task 1:Print your name,class and class number on the screen.
Task 2:Ask the user to input his/her name and say hello to him/her.
Task 3:Ask the user to input three numbers,
Task 4:Arrange the three numbers in descending order.
Task 5:Print the three numbers in descending order.
Challenging task:Ask the user to input four numbers and arrange them in
descending
order.
Save the program on a floppy disk and submit to your computer teacher 10 days after today.
3¸¹,13¸¹,23¸¹,33¸¹,43¸¹
Set 3:Write a Pascal program to do the following tasks.
Task 1:Print your name,class and class number on the screen.
Task 2:Ask the user to input his/her name and say hello to him/her.
Task 3:Ask the user to input three numbers.
Task 4:Print the mean of the three numbers.
Task 5:Print the median of the three numbers.
Challenging task:Ask the user to input four numbers and find the mean
and median of the four numbers.
Save the program on a floppy disk and submit to your computer teacher 10days after today.
4¸¹,14¸¹,24¸¹,34¸¹,44¸¹
Set 4:Write a Pascal program to do the following tasks.
Task 1:Print your name ,class and class number on the screen.
Task 2:Ask the user to input his/her name and say hello to him/her.
Task 3:Ask the user to input the name of a month(e.g.
January,March,etc.).
Task 4:Print the short form of the name of thaat(e.g...Jan,Mar,etc.).
Task 5:Print the number of days in that month.
Challenging task:Ask the user to input a year(e.g.2004) and check
whether
the inputted year is a leap year or not.
Save the program on a floppy disk and submit to your compute teacher 10 days after today.
5¸¹,15¸¹,25¸¹,35¸¹
Set 5:Write a Pascal program to do the following tasks.
Task 1:Print your name,class and class number on the screen.
Task 2:Ask the user to input his/her name and say hello to him/her.
Task 3:Ask the user to input the numbers of days in a certain month
(e.g.30).
Task 4:Print all possible months(e.g. Apr, Jun, Sep, Nov) in short form.
Task 5:Print all possible months(e.g. April, June, September, November)
in whold word.
Challenging task:Ask the user to input a year(e.g. 2004) and check
whether the inputted year is a leap year or not.
Save the program on a floppy disk and submit to your computer teacher 10 days after today.
6¸¹,16¸¹,26¸¹,36¸¹
Set 6:Write a Pascal program to do the following tasks.
Task 1:Print your name, class and class number on the screen.
Task 2:Ask the user to input his/her name and say hello to him/her.
Task 3:Ask the user to input a year (e.g. 2004).
Task 4:Print the animal of the year (e.g. Monkey).
Task 5:Print the nex three years which have the same animal of the year.
Challenging task:Ask the user to input a year (e.g. 2004) and check
whether the inputted year is a leap year or not.
Save the program on a floppy disk and submit to your computer teacher 10days after today.
7¸¹,17¸¹,27¸¹,37¸¹
Set 7:Write a Pascal program to do the following tasks.
Task 1:Print your name, class and class number on the screen.
Task 2:Ask the user to input his/her name and say hello to him/her.
Task 3:Ask the user to input five integers.
Task 4:Print the sum of all five integers.
Task 5:Print the sum of all odd numbers.
Challenging task:Find the difference between the maximum
and minimum of the five inputted integers.
Save the program on a floppy disk and submit to your computer teacher 10days after today.
8¸¹,18¸¹,28¸¹,38¸¹
Set 8:Write a Pascal program to do the following tasks.
Task 1:Print your name, class and class number on the screen.
Task 2:Ask the user to input his/her name to say hello to him/her.
Task 3:Ask the user to input the length of the three sides of a triangle.
Task 4:Print whether the three sides from an equilateral triangle.
Task 5:Print whether the three sides from an isosceles triangle.
Challenging task:Print whether the three sides from a right-angled
triangle.
Save the program on a floppy disk and submit to your computer teacher 10days after today.
9¸¹,19¸¹,29¸¹,39¸¹
Set 9:Write a Pascal program to do the following tasks.
Task 1:Print your name, class and class number on the screen.
Task 2:Ask the user to input his/her name and say hello to him/her.
Task 3:Ask the user to input two integers.
Task 4:Print which number(s) is/are odd and which is/are even.
Task 5:Print which number is bigger and which is smaller.
Challenging task:Find the remainder of when the bigger number is
divided by the smaller number.
Svae the program on a floppy disk and submit to your computer teacher 10days after today.
10¸¹,20¸¹,30¸¹,40¸¹
Set 10:Write a Pascal program to do the following tasks.
Task 1:Print your name, class and class number on the screen.
Task 2:Ask the user to input his/her name and say hello to him/her.
Task 3:Ask the user to input two integers.
Task 4:Print the absolute value of these two integers.
Task 5:Print the larger one of these two absolute values.
Challenging task:Print any number whose absolute value is inputted from keyboard.
Save the program on a floppy disk and submit to your computer teacher 10 days after today.
Chatboard (0)