NPTEL Problem Solving Trough Programming In C | NPTEL Week 3 Programming Assignment | NPTEL Assignment Solutions

NPTEL Problem Solving Trough Programming In C Week 3 Programming Assignment | NPTEL Swayam Assignment Answers


nptel problem solving through programming in c



Nptel Week 3 Programming Assignment Answers:

Q.1:

write a c program to calculate the area of a circle given its radius


here is the first part and last part of program

Code:



Q.2:

write a c program to check if a given number is zero or positive or negative using if else statement


the number is entered automatically


Code:




Q.3:

write a program to check whether a given number integer is even or odd
write the rest of the program in the box


Code:




Q.4:

write a c program to find the largest number integer among three numbers integers using if and logical && operator
complete the code in the box provided below


Code:





If you are facing any queries regarding this assignment solutions, then please drop comment in comment section.

Post a Comment

0 Comments