Assignment # 4
Note:- This is very important assignment follow the following instructions carefully.
- In Copy/ paste case both students will be assigned zero mark in assignment as well as in lab-sectional.
- Accurate and neat assignment will be considered in lab-sectional marking.
- The assignment will be checked on your next lab during lab-sectional.
- After lab, no assignment will be acceptable.
- All these programs should must be made in Turbo-c don't make it in Ms-word.
- Questions may be asked about your assignment in lab- Viva about your assignment so make sure you know what you make.
*
***
*****
*******
*****
***
*
Q#2.Make a program that uses loops to convert temperature from centigrade to Fahrenheit from 1 to 20 and the output should be in the following way.
Fahrenheit Centigrade
1 .........
2 .........
Q#3.Use the Nested loop concept to print the following output.
**
* *
** **
*** ***
**** ****
***** *****
****** ******
***** *****
**** ****
*** ***
** **
* *
**
Q#4.Make a program using nested loops that print the following the output.
10
99
888
7777
66666
555555
4444444
33333333
222222222
1111111111
Q#5. Make a program using the concept of nested loop that will print the following output.
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
Best of Luck!
Amar bhai,.,.Whats Thissssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
ReplyDeletethis is your next assignment bro will be submitted at the time of your sectional.
ReplyDeleteif you don't get any point in this assignment then contact me at 0321-5793204 for any further query.
ReplyDeleteAmmar Bhai ..... Humari tO BanD Baja k raKh di aPne .... :(
ReplyDelete:-) are nai yar ya programs bht asan han 5 min ka kam ha and agar ya app na khud kar liye tou fir samje app ka lab or sectional dono fit ho jahen ge.
ReplyDeleteprogram num 3 ki logic ni ban rahi baki sab ban gay hain..
ReplyDeleteyar dakho uss ma aik patren ha pahle jitne * han fir utne he spaces and fir utne he * han bht asan ha agar thora socho tou.
ReplyDeleteamar bhai kitny loop lagny hain program 3 main?????ma ny bana to lia hy pr loop boht lagy hain....
ReplyDeletehan aik loop ka andar 3 loop orr lage ge.
ReplyDelete