You are on page 1of 1

Marwadi University

Faculty of Diploma Studies


Information & Communication Technology

B.Tech. SEM I
Assignment – I (Medium Level)
1) Write a program to count the simple interest.
2) Write a program to convert ferhanhit to Celsius and Celsius to ferhanhit as per
user choice.
3) Write a program that interchange or swap the values of 2 variables.
4) Write a program that find minimum out of 3 values (using nested if..else)
5) Write a C program to input electricity unit charges and calculate total electricity
bill according to the given condition:
For first 50 units Rs. 0.50/unit
For next 100 units Rs. 0.75/unit
For next 100 units Rs. 1.20/unit
For unit above 250 Rs. 1.50/unit
An additional surcharge of 20% is added to the bill.
6) Write a program that perform the following output for n by n matrix without
using array
1 2 3 4 5
10 9 8 7 6
11 12 13 14 15
20 9 18 17 16
21 22 23 24 25
7) Write a program that perform the following output for n rows
123454321
1234 4321
123 321
1 2 21
1 1
8) Write a program to check weather entered number is Armstrong or not.
9) Write a program to print odd number series between two entered numbers.
10) 1 + 3 + 5 + 7 Up to n terms.

Submit on or before 10-10-18 (with print of code and output)

ICP(01CT0101) Page 1|1

You might also like