filmov
tv
C lancuade Hindi || How to Find Area of Triangle || GTU Practical 2 || by Online Study Tutorial
Показать описание
#osf
#ost
#onlinestudytutorial
#onlinestudyfoundation
#adt
#aditya__s3
1
Write a program to that performs as calculator ( addition, multiplication, division, subtraction).
2
Write a program to find area of triangle(a=h*b*.5)
a = area
h = height
b = base
3
Write a program to calculate simple interest (i = (p*r*n)/100 )
i = Simple interest
p = Principal amount
r = Rate of interest
n = Number of years
4
Write a C program to interchange two numbers.
5
Write a C program to enter a distance in to kilometre and convert it in to meter, feet, inches and centimetre
6
Write a program to compute Fahrenheit from centigrade (f=1.8*c +32)
7
Write a C program to find out distance travelled by the equation d = ut + at^2
8
Write a C program to find that the accepted number is Negative, or Positive or Zero.
9
Write a program to read marks of a student from keyboard whether the student is pass or fail(using if else)
10
Write a program to read three numbers from keyboard and find out maximum out of these three. (nested if else)
11
Write a C program to check whether the entered character is capital, small letter, digit or any special character.
12
Write a program to read marks from keyboard and your program should display equivalent grade according to following table(if else ladder)
Marks Grade
100 - 80 Distinction
79 - 60 First Class
59 - 40 Second Class
less than 40 Fail
13
Write a c program to prepare pay slip using following data.
Da = 10% of basic, Hra = 7.50% of basic, Ma = 300,
Pf = 12.50% of basic, Gross = basic + Da + Hra + Ma, Nt = Gross – Pf.
14
Write a C program to read no 1 to 7 and print relatively day Sunday to Saturday.
15
Write a C program to find out the Maximum and Minimum number from given 10 numbers
16
Write a C program to input an integer number and check the last digit of number is even or odd.
17
Write a C program to find factorial of a given number.
18
Write a program to reverse a number.
19
Write a program to generate first n number of Fibonacci series
20
Write a program to find out sum of first and last digit of a given number.
21
Write a C program to find the sum and average of different numbers which are accepted by user as many as user wants
22
Write a program to calculate average and total of 5 students for 3 subjects (use nested for loops)
23
Read five persons height and weight and count the number of person having height greater than 170 and weight less than 50,
24
Write a program to check whether the given number is prime or not.
25
Write a program to evaluate the series 1^2+2^2+3^2+……+n^2
26
Write a C program to find 1+1/2+1/3+1/4+....+1/n.
27
Write a C program to find 1+1/2!+1/3!+1/4!+.....+1/n!.
28
Write a program to evaluate the series sum=1-x+x^2/2!-x^3/3!+x^4/4!......-x^9/9!
29
Write a program to print following patterns :
1.
*
**
***
****
2.
*****
****
***
**
*
29
Write a program to print following patterns :
1.
1
12
123
1234
12345
2.
12345
1234
123
12
1
3
55555
4444
333
22
1
4.
1
22
333
4444
55555
31
Write a program to print following patterns:
1.
AAAAA
AAAA
AAA
AA
A
2.
ABCDE
ABCD
ABC
AB
A
32
Write a C program to read and store the roll no and marks of 20 students using array.
33
Write a program to find out which number is even or odd from list of 10 numbers using array
34
Write a program to find maximum element from 1-Dimensional array.
35
Write a C program to calculate the average, geometric and harmonic mean of n elements in an array.
36
Write a program to sort given array in ascending order (Use Insertion sort, Bubble sort, Selection sort, Mergesort, Quicksort, Heapsort).
37
Write a program to find a character from given string.
38
Write a program to replace a character in given string.
39
Write a program to delete a character in given string.
40
Write a program to reverse string.
C language :-
C (/siː/, as in the letter c) is a general-purpose, procedural computer programming language supporting structured programming, lexical variable scope, and recursion, while a static type system prevents unintended operations. By design, C provides constructs that map efficiently to typical machine instructions and has found lasting use in applications previously coded in assembly language. Such applications include operating systems and various application software for computers, from supercomputers to embedded systems.
C was originally developed at Bell Labs by Dennis Ritchie between 1972 and 1973 to make utilities running on Unix. Later, it was applied to re-implementing the kernel of the Unix operating system.[6] During the 1980s, C gradually gained popularity. It has become one of the most widely used programming languages,[7][8] with C compilers from various vendors available for the majority of existing computer architectures and operating systems. C has been standardized by the ANSI since 1989 (see ANSI C) and by the International Organization for Standardization.
C is an imperative procedural language.
#ost
#onlinestudytutorial
#onlinestudyfoundation
#adt
#aditya__s3
1
Write a program to that performs as calculator ( addition, multiplication, division, subtraction).
2
Write a program to find area of triangle(a=h*b*.5)
a = area
h = height
b = base
3
Write a program to calculate simple interest (i = (p*r*n)/100 )
i = Simple interest
p = Principal amount
r = Rate of interest
n = Number of years
4
Write a C program to interchange two numbers.
5
Write a C program to enter a distance in to kilometre and convert it in to meter, feet, inches and centimetre
6
Write a program to compute Fahrenheit from centigrade (f=1.8*c +32)
7
Write a C program to find out distance travelled by the equation d = ut + at^2
8
Write a C program to find that the accepted number is Negative, or Positive or Zero.
9
Write a program to read marks of a student from keyboard whether the student is pass or fail(using if else)
10
Write a program to read three numbers from keyboard and find out maximum out of these three. (nested if else)
11
Write a C program to check whether the entered character is capital, small letter, digit or any special character.
12
Write a program to read marks from keyboard and your program should display equivalent grade according to following table(if else ladder)
Marks Grade
100 - 80 Distinction
79 - 60 First Class
59 - 40 Second Class
less than 40 Fail
13
Write a c program to prepare pay slip using following data.
Da = 10% of basic, Hra = 7.50% of basic, Ma = 300,
Pf = 12.50% of basic, Gross = basic + Da + Hra + Ma, Nt = Gross – Pf.
14
Write a C program to read no 1 to 7 and print relatively day Sunday to Saturday.
15
Write a C program to find out the Maximum and Minimum number from given 10 numbers
16
Write a C program to input an integer number and check the last digit of number is even or odd.
17
Write a C program to find factorial of a given number.
18
Write a program to reverse a number.
19
Write a program to generate first n number of Fibonacci series
20
Write a program to find out sum of first and last digit of a given number.
21
Write a C program to find the sum and average of different numbers which are accepted by user as many as user wants
22
Write a program to calculate average and total of 5 students for 3 subjects (use nested for loops)
23
Read five persons height and weight and count the number of person having height greater than 170 and weight less than 50,
24
Write a program to check whether the given number is prime or not.
25
Write a program to evaluate the series 1^2+2^2+3^2+……+n^2
26
Write a C program to find 1+1/2+1/3+1/4+....+1/n.
27
Write a C program to find 1+1/2!+1/3!+1/4!+.....+1/n!.
28
Write a program to evaluate the series sum=1-x+x^2/2!-x^3/3!+x^4/4!......-x^9/9!
29
Write a program to print following patterns :
1.
*
**
***
****
2.
*****
****
***
**
*
29
Write a program to print following patterns :
1.
1
12
123
1234
12345
2.
12345
1234
123
12
1
3
55555
4444
333
22
1
4.
1
22
333
4444
55555
31
Write a program to print following patterns:
1.
AAAAA
AAAA
AAA
AA
A
2.
ABCDE
ABCD
ABC
AB
A
32
Write a C program to read and store the roll no and marks of 20 students using array.
33
Write a program to find out which number is even or odd from list of 10 numbers using array
34
Write a program to find maximum element from 1-Dimensional array.
35
Write a C program to calculate the average, geometric and harmonic mean of n elements in an array.
36
Write a program to sort given array in ascending order (Use Insertion sort, Bubble sort, Selection sort, Mergesort, Quicksort, Heapsort).
37
Write a program to find a character from given string.
38
Write a program to replace a character in given string.
39
Write a program to delete a character in given string.
40
Write a program to reverse string.
C language :-
C (/siː/, as in the letter c) is a general-purpose, procedural computer programming language supporting structured programming, lexical variable scope, and recursion, while a static type system prevents unintended operations. By design, C provides constructs that map efficiently to typical machine instructions and has found lasting use in applications previously coded in assembly language. Such applications include operating systems and various application software for computers, from supercomputers to embedded systems.
C was originally developed at Bell Labs by Dennis Ritchie between 1972 and 1973 to make utilities running on Unix. Later, it was applied to re-implementing the kernel of the Unix operating system.[6] During the 1980s, C gradually gained popularity. It has become one of the most widely used programming languages,[7][8] with C compilers from various vendors available for the majority of existing computer architectures and operating systems. C has been standardized by the ANSI since 1989 (see ANSI C) and by the International Organization for Standardization.
C is an imperative procedural language.
Комментарии