Write a program to insert an element in stack(Push operation only).
Write a program to traverse linked list(1-way)
write a program which loads(from the keyboard)variables of four basic types
1.integer number(preferably short)
2.floating point number(preferably double)
3.single character(char)
4.text(using array text representation char text[30])
5.boolean(logical TRUE/FALSE)(int?)
and the display the collected values in five following rows in a formated form:
on 15 positions
aligned /justified to right
with maximally 2 fraction digits
Write C program that to add following two matrixes and display output.
{5 7 8 109 3 0 68 1 9 24 7 2 1} + {2 2 1 3 8 1 3 11 2 2 43 1 1 2} = {7 9 9 1317 4 3 79 3 11 67 8 3 3}
Create a C program that will accept student name, prelim grade, midterm grade and final grade then compute and display for cumulative grade based on the formula: CG=15% of prelim + 30% midterm + 55% final. Your program should display the output based on the following sample run.
Sample Run:
Enter student name:
Prelim grade:
Midterm grade:
Final grade:
Cumulative grade:
Declare integer variables x, y, z and assign the value 10 in the y and 20 in the z.
Create three structures using linked list: Student, University & Branch.
Student structure contains Name, Roll No & Branch ID [in which the student studies], University structure contains University ID & University Name) &
Branch structure contains Branch ID & Branch Name
Implement the following function to :-
Develop a stack using C program to check whether the given expression [a+[b+(c+d)]} is balanced or not