assignment queries
Title
Question
where to run code and how to submit assignment ?
Advanced-Cpp Classes-And-Objects 05-06 min 0-10 sec
Answers:
Dear User,
Please go through the Instruction Sheet thoroughly. Please follow all the steps and then begin with the video. Here is the link-
https://spoken-tutorial.org/media/videos/44/Advanced-Cpp-Instruction-Sheet-English.pdf
https://spoken-tutorial.org/media/videos/44/Advanced-Cpp-Instruction-Sheet-English.pdf
Assignments are only for self-assessment. You don't have to submit the assignments anywhere.
#include <stdio.h>
#define PI 3.14f
void main()
{
float radius, perimeter, area;
printf("Enter radius of the Circle:\n");
scanf("%f", & radius);
perimeter = 2 * PI * radius;
printf("Perimeter of the circle: %0.4f\n", perimeter);
area = PI * radius * radius;
Printf("Area of circle: %0.4f\n", area);
}
Http://spoken tutorial.org/ media/video/44/advance CPP instructions sheet English.pdf
#include <stdio.h>
#define PI 3.14f
int main()
{
float radius, perimeter, area;
printf("Enter radius of the Circle:\n");
scanf("%f", &radius);
perimeter = 2 * PI * radius;
printf("Perimeter of the circle: %0.4f\n", perimeter);
area = PI * radius * radius;
printf("Area of circle: %0.4f\n", area);
return 0;
}
*Where to run code:
– Install the required software (like C++, Python, etc.) on your computer.
– Write and run code locally in an editor, IDE (e.g., Code::Blocks, VS Code), or terminal.
*How to submit assignment:
– Usually upload your code files, screenshots, or answers to the Spoken Tutorial website or submit through your college’s LMS, as instructed by your course coordinator.
Login to add comment