C++ influenced
#include<iostream>
using namespace std;
int main(){
cout<<"helo world";
}
C++ influenced
#include<iostream>
using namespace std;
int main(){
cout<<"helo world";
}
c++ influenced
helo friends
my name is mohan maheen
my age is 13 year old
*********************
#include <iostream>
using namespace std;
int main(){
cout<<"start of program"<<endl;
int m=0;
char r;
string sname;
cout<<"\n \n \n__________________online quiz________________"<<endl;
cout<<"enter your sname...";
cin>>sname;
cout<<"if the statement is true ,mark it(T)if it the false mark it(F)"<<endl;
cout<<"*****************************************************************"<<endl;
// qquestion 1
cout<<"\n1:-mashine language is the combination of 0 & 1 [T/F]...";
cin>>r;
if(r=='t' || r=='T' ) {
cout<<"\tyour answer is correct";
m+=10;
cout<<" \t total marks ="<<m;
}else{
cout<<" \tyour answer is in correct";
m+=0;
cout<<" \t total marks ="<<m;
}
// question 2
cout<<"\n2:-computer is a mashine usse only ghygraps 0 & 1 [T/F]...";
cin>>r;
if(r=='f' || r=='F' ) {
cout<<"\tyour answer is correct";
m+=10;
cout<<" \t total marks ="<<m;
}else{
cout<<"\tyour answer is in correct";
m+=0;
cout<<"\t total marks ="<<m;
}
// question 3
cout<<"\n3:-java and C++ in same language 0 & 1 [T/F]...";
cin>>r;
if(r=='f' || r=='F' ) {
cout<<"\tyour answer is correct";
m+=10;
cout<<" \t total marks ="<<m;
}else{
cout<<"\tyour answer is in correct";
m+=0;
cout<<" \t total marks ="<<m;
}
//question 4
cout<<"\n4:-window as an oppreating system 0 & 1 [T/F]...";
cin>>r;
if(r=='t' || r=='T' ) {
cout<<" \tyour answer is correct";
m+=10;
cout<<" \t total marks ="<<m;
}else{
cout<<"\tyour answer is in correct";
m+=0;
cout<<" \t total marks ="<<m;
}
//question 5
cout<<"\n5:-you can make games both by java and c++ 0 & 1 [T/F]...";
cin>>r;
if(r=='t' || r=='T' ) {
cout<<"\tyour answer is correct";
m+=10;
cout<<" \t total marks ="<<m;
}else{
cout<<" \tyour answer is in correct";
m+=0;
cout<<" \t total marks ="<<m<<endl;
}
if(m==50){
cout<<"\ncongratulation !!!your answer all is correctly";
}
}
C++ influenced
#include<iostream>
using namespacee std;
int main(){
cout<<"***helo word***";
}
C++ influenced
c++***parttens;
my name is maheen
my age is 13 years old
*********************************
#include<iostream>
using namespace std;
int main(){
int n=5;
cout<<"enetr a number to draw a dimond...";
cin>>n;
int space=n-0;
for(int i=0.i<n;i++){
for(int j=0;j<space;j++){
cout<<" ";
}
for(int j=0;j<=i;j++){
cout<<"* ";
}
cout<<endl;
space--;
}
space=0;
for(int i=n;i>0;i--){
for(int j=0;j<space;j++){
cout<<" ";
}
for(int j=0;j<i;j++){
cout<<"* ";
}
cout<<endl;
space++;
}
}
C++ influenced
#include <iostream>
using namespace std;
int main(){
cout<<"start of program"<<endl;
int m=0;
char r;
string sname;
cout<<"\n \n \n__________________online quiz________________"<<endl;
cout<<"enter your sname...";
cin>>sname;
cout<<"if the statement is true ,mark it(T)if it the false mark it(F)"<<endl;
cout<<"*****************************************************************"<<endl;
// qquestion 1
cout<<"\n1:-mashine language is the combination of 0 & 1 [T/F]...";
cin>>r;
if(r=='t' || r=='T' ) {
cout<<"\tyour answer is correct";
m+=10;
cout<<" \t total marks ="<<m;
}else{
cout<<" \tyour answer is in correct";
m+=0;
cout<<" \t total marks ="<<m;
}
// question 2
cout<<"\n2:-computer is a mashine usse only ghygraps 0 & 1 [T/F]...";
cin>>r;
if(r=='f' || r=='F' ) {
cout<<"\tyour answer is correct";
m+=10;
cout<<" \t total marks ="<<m;
}else{
cout<<"\tyour answer is in correct";
m+=0;
cout<<"\t total marks ="<<m;
}
// question 3
cout<<"\n3:-java and C++ in same language 0 & 1 [T/F]...";
cin>>r;
if(r=='f' || r=='F' ) {
cout<<"\tyour answer is correct";
m+=10;
cout<<" \t total marks ="<<m;
}else{
cout<<"\tyour answer is in correct";
m+=0;
cout<<" \t total marks ="<<m;
}
//question 4
cout<<"\n4:-window as an oppreating system 0 & 1 [T/F]...";
cin>>r;
if(r=='t' || r=='T' ) {
cout<<" \tyour answer is correct";
m+=10;
cout<<" \t total marks ="<<m;
}else{
cout<<"\tyour answer is in correct";
m+=0;
cout<<" \t total marks ="<<m;
}
//question 5
cout<<"\n5:-you can make games both by java and c++ 0 & 1 [T/F]...";
cin>>r;
if(r=='t' || r=='T' ) {
cout<<"\tyour answer is correct";
m+=10;
cout<<" \t total marks ="<<m;
}else{
cout<<" \tyour answer is in correct";
m+=0;
cout<<" \t total marks ="<<m<<endl;
}
if(m==50){
cout<<"\ncongratulation !!!your answer all is correctly";
}
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us