A sample program using data structure?
what is file handling?
No Answer is Posted For this Question
Be the First to Post Answer
quoroum of computer languages?
What are the different types of errors in C and when they occur?
printy(a=3,a=2)
2. A student studying Information Technology at Polytechnic of Namibia is examined by coursework and written examination. Both components of assessment carry a maximum of 50 marks. The following rules are used by examiners in order to pass or fail students. a. A student must score a total of 40% or more in order to pass (total = coursework marks + examination marks) b. A total mark of 39% is moderated to 40% c. Each component must be passed with a minimum mark of 20/50. If a student scores a total of 40% or more but does not achieve the minimum mark in either component he/she is given a technical fail of 39% (this mark is not moderated to 40%) d. Grades are awarded on marks that fall into the following categories. Mark 100-70 69-60 59-50 49-40 39-0 Grade A B C D E Write a program to input the marks for both components (coursework marks out of 50 and examination marks out of 50), out put the final mark and grade after any moderation. [30]
Given that two int variables, total and amount, have been declared, write a loop that reads integers into amount and adds all the non-negative values into total. The loop terminates when a value less than 0 is read into amount. Don't forget to initialize total to 0. Instructor's notes: This problem requires either a while or a do-while loop.
void main() { int i=7; printf("N= %*d",i,i); }
who was the present cheif governor of reserve bank of india
6 Answers State Bank Of India SBI,
void main() { int i=5; printf("%d",i+++++i); }
loop1: { x=i<n?(i++):0; printf("%d",i); exit(x); continue; } Error- misplaced continue. Doubt-1.will the exit(x) be executed for all values of x 2.will this statement go out of the program.
Find the error (2.5*2=5) (a) X=y=z=0.5,2.0-5.75 (b) s=15;
what is run time error?
UINT i,j; i = j = 0; i = ( i++ > ++j ) ? i++ : i--; explain pls....