LAB 9 - BIC10204

QUESTION 1:

1. Write a program (C programming language) that reads 10 integer numbers into an array and display each of the values inside the array. Then execute the following process:

a) Multiplication between 3rd and 7th input numbers.

b) Summation of 2nd, 4th, 8th, and 10th input numbers.

c) 5th input number to the power of 3.

d) 9th input number divide by 1st input number.


CODING & OUTPUT Q1:



QUESTION 2:

2. Write a program (C programming language) to store and print the names of your two favorite television programs. Store these programs in two-character arrays. Initialize one of the strings (assign it the first program’s name) at the time you declare the array. Initialize the second value in the body of the program with the strcpy() function.

CODING & OUTPUT Q2:




Written by Arif (AI210125)😁.

Comments

Popular reaches : 3

LAB 6 - BIC10204

Lab Task 1 - BIC10503

LAB 4 - BIC10204

Lab Task 6 - BIC10503

Lab Task 3 - BIC10503

LAB 8 - BIC10204