answersLogoWhite

0


Best Answer

#include<stdio.h>

#include<conio.h>

void main()

{

int rollno,m1,m2,m3,m4,m5,tot;

float avg;

char [20]name;

clrscr();

printf("Enter the name,rollno,mark");

scanf("%d%d%d%d%d%d%s",&rollno,&m1,&m2,&m3,&m4,&m5,&name);

tot=m1+m2+m3+m4+m5;

avg=tot/5;

printf("the avg is",avg);

getch();

}

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a c program for student marklist without using arrays and pointers?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are void pointers?

They are pointers without type


Why laser mouse are used?

Because the laser pointers are much easier to use than the ball pointers. The ball pointers are often difficult to move around while the laser pointers can move in any direction without "getting stuck"


Program in c using pointers to interchange 2 values without using third variable?

swap (int *pa, int *pb) { *pa ^= *pb; *pa ^= *pa; *pa ^= *pb; }


What are the c-programs for indexed fileallocation without pointers?

Home-works.


Who made the most 3 pointers in a basketball game without missing?

Michael Jordan


How long does it take to earn a bachelor's degree without an associate's degree?

The bachelors degree it designed as a four year program of study as a full-time student, and provided the student takes the degree as prescribed by the college or university.


Is it possibly to return an array of strings in a function without using pointers in C plus plus?

No.


Who is important a student or a teacher?

Both because a teacher cannot teach without a student and a student cannot learn without a teacher.


Student with books are different in student without books?

student with books are more knowledge than students without books because students without books is less knowledge.


Is it possible to make a program using for and not with while?

The following cases are all possible:- program without any for and while- program without for- program without while- program with both for and while


What do you need to qualify for student loans without cosigner?

Student loans are provided without consigner based on needs. For example if you are independent from your parents, you can qualify for student loans without cosigner.


Is there university in egypt accept student without sat test?

No, there are no Universities in Egypt that will accept a student without an SAT score.