0
၅ မွတ္ရေနရင္ The Best ၄ မွတ္ရေနရင္ The Good
Posted by ေမၿမဳိ့သား
on
12:28 PM
in
C++ for 1st year
ဒီ ပုစၦာေလးကေတာ့ ..ေက်ာင္းသားမ်ားရဲ့ အရည္အခ်င္းကို စစ္ေဆးရာမွာ..
ဘယ္ေက်ာင္းသားက ၅ မွတ္ရေနရင္.. best .. ေက်ာင္းသားတစ္ေယာက္က ၄ မွတ္ရေနရင္.. Good .. စသၿဖင့္ လိုအပ္သလို ေရးထားတဲ့ အေၿခခံ ပုစၦာေလးပါ.
#include "stdafx.h"
#include<iostream>
#include<conio.h>
#include<stdlib.h>
using namespace std;
void main()
{
int a;
cout<<endl<<endl;
cout<<"Enter your result....";
cin>>a;
cout<<"\n\n";
if(a==5)
{
cout<<"That is excellent result...best student";
}
else if(a==4)
cout<<"that is good... ";
else if(a==3)
cout <<"simple pass ur exam ";
else
cout<<"no pass exam ... bad student ";
getch();
}
ဘယ္ေက်ာင္းသားက ၅ မွတ္ရေနရင္.. best .. ေက်ာင္းသားတစ္ေယာက္က ၄ မွတ္ရေနရင္.. Good .. စသၿဖင့္ လိုအပ္သလို ေရးထားတဲ့ အေၿခခံ ပုစၦာေလးပါ.
#include "stdafx.h"
#include<iostream>
#include<conio.h>
#include<stdlib.h>
using namespace std;
void main()
{
int a;
cout<<endl<<endl;
cout<<"Enter your result....";
cin>>a;
cout<<"\n\n";
if(a==5)
{
cout<<"That is excellent result...best student";
}
else if(a==4)
cout<<"that is good... ";
else if(a==3)
cout <<"simple pass ur exam ";
else
cout<<"no pass exam ... bad student ";
getch();
}
Post a Comment