0% found this document useful (0 votes)
2 views3 pages

Index Ridoy

The document contains a series of programming questions and tasks, including temperature conversion, greeting messages, student marks evaluation, and even number summation. It also includes a sample source code for a simple addition program. Additionally, there is a section for student protest participation analysis, though details are not provided.

Uploaded by

tanzidyt356
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views3 pages

Index Ridoy

The document contains a series of programming questions and tasks, including temperature conversion, greeting messages, student marks evaluation, and even number summation. It also includes a sample source code for a simple addition program. Additionally, there is a section for student protest participation analysis, though details are not provided.

Uploaded by

tanzidyt356
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Questions

Q Title Page
08 Convert a Celsius temperature to Fahrenheit and vice versa. Input should be given by the 1-2
user. Display both results with proper labels.

18 Write a program to print “Hello, welcome to the Computer Science programming [Link] 3-4
must take the department name as input using scanf.

29 Write a program to read the marks of a student in five subjects and print whether the student 5-6
has passed or failed. Assume the pass mark is 40 in each subject.

36 Input an integer n and print all even numbers between 1 and n along with their sum. (For 7-8
all)

47 Print the following pattern for a given integer n. 9-10

11-
56 Student Protest Participation Analysis
Question: 01
Name of the Question:

Introduction:

Algorithm:

Flowchart:

Source Code

#include<stdio.h>
int sum(int num1, int num2)
{
return num1+num2;
}
int main()
{
int a,b;
scanf("%d %d", &a, &b);
int x=sum(a,b);
printf("%d",x);
return 0;
}

Input and Output


Outcome and Analysis:

You might also like