WEEK: 3 PROGRAM 1 AND PROGRAM 2 NPTEL Problem Solving through Programming in C (Jan 27) 2020 solutions


PROBLEM SOLVING THROUGH PROGRAMMING IN C.

By Prof. ANUPAM BASU


WEEK 3:PROGRAM 1:

* Write a C Program to calculates the area (floating point number with two decimal places) of a Circle given it’s radius (integer value).  The value of Pi is 3.14.


area=3.14*radius*radius;


WEEK 3:PROGRAM 2:


Write a C program to check if a given Number is zero or Positive or Negative Using if...else statement.


if(number<0)
  printf("Negative number.");
else if(number>0)
  printf("Positive number.");
  else
  printf("zero number.");
}



Week-3 :Program-03 Answers And Program-04
CLICK ON BELOW LINK.
<<CLICK HERE FOR  WEEK 3 :PROGRAM -03>>
<<CLICK HERE FOR  WEEK 3 :PROGRAM-04>> FOLLOW OUR WEBSITE FROM THE BUTTON PROVIDED TO THE BOTTOM OF PAGE TO GET SOON ANSWERS OF PROGRAMS.
Disclaimer: Here you can find all nptel assignment solutions related to CS stream.These may help you for your assignment.The answers are only for verification.You cannot copy these directly from the post(code of conduct of NPTEL).These is not 100%  correct solutions.

No comments:

Post a Comment

If you have any problems related to solutions or any concept please let me know.

Copyright (c) 2020 Custom Programs All Right Reserved

Pages