#include<stdio.h> int main() { int roll_no,marks,percentage; scanf("%d\t%d\t%d",&roll_no,&marks,&percentage); printf("Roll No. is %d\n",roll_no); printf("Marks is %d\n",marks); printf("Percentage is %d\n",percentage); return 0; }
Archive for the ‘Lab 10A’ Category
2. Input and output your Roll no., marks, and percentage to an appropriate format.
Posted: September 17, 2012 in CSE Sem1, ECE Sem1, Lab 10A, Lab 10A0