Computer Science, asked by aslahanarakkoden, 10 months ago

1. Write a program to print the grades of students in different colors. Get the mark from
the user.
If 90<=mark <=100 print grade is A, in green colour with three stars.
If 70<=mark<90 print grade is B, in blue colour with two stars
If 60<=mark<70 print grade is C, in purple colour with one star
If 50<=mark<60 print grade is D, in yellow colour
If mark <=49 print grade is F, in dark red colour
2. Get the name and address of two of your friends and print these mailing addresses
in two different colours.​

Answers

Answered by Anonymous
0

#include<iostream.h>

void main

{

int marks;

cout<<"enter marks";

cin>>marks;

if(marks>=90||marks<=100)

{

condition;

}

.......

return 0;

}

hope it help.

#avi

Similar questions