#include <iostream>
using namespace std;
int main()
{
char chr;
cout <<" Wel come to 'LEARN TO CODE' telegram channel.\n";
chr = 'j';
cout <<"Enter 'j' to join our channel." << endl;
cin >> chr;
cout <<"https://t.me/PROGRAMINGLANGUAGES1";
return 0;
}
thanks ππΏhttps://t.me/PROGRAMINGLANGUAGES1
using namespace std;
int main()
{
char chr;
cout <<" Wel come to 'LEARN TO CODE' telegram channel.\n";
chr = 'j';
cout <<"Enter 'j' to join our channel." << endl;
cin >> chr;
cout <<"https://t.me/PROGRAMINGLANGUAGES1";
return 0;
}
thanks ππΏhttps://t.me/PROGRAMINGLANGUAGES1
β€2
reference books for c++
1ππΏhttps://t.me/PROGRAMINGLANGUAGES1/34
2ππΏhttps://t.me/PROGRAMINGLANGUAGES1/30
3ππΏhttps://t.me/PROGRAMINGLANGUAGES1/85
4ππΏhttps://t.me/PROGRAMINGLANGUAGES1/88
1ππΏhttps://t.me/PROGRAMINGLANGUAGES1/34
2ππΏhttps://t.me/PROGRAMINGLANGUAGES1/30
3ππΏhttps://t.me/PROGRAMINGLANGUAGES1/85
4ππΏhttps://t.me/PROGRAMINGLANGUAGES1/88
Telegram
Learn To Code
nice material to explore your coding skill.π€, CODING is like building library that has many shelves to store book Β« "/*books represents data in coding*/; so you can sore books orderly to use it in case needed. By the way, coding needs not your past experienceβ¦
π1
DS286.AUG2016.Lab2_.cpp_tutorial.pdf
1.8 MB
now π€« c++ is no more difficultπππΏππΏππΏ
β€2π1
//C++ program for converting degree Celsius into Fahrenheit and vice versa
#include<iostream>
using namespace std;
int main()
{
float fahr, cel;
char option;
cout << "Choose from following option:" << endl;
cout << "1. Celsius to Fahrenheit." << endl;
cout << "2. Fahrenheit to Celsius." << endl;
cin >> option;
//option for converting celsius into fahernheit
if (option == '1')
{
cout << "Enter the temperature in Celsius: ";
cin >> cel;
fahr = (1.8 * cel) + 32.0; //temperature conversion formula
cout << "\nTemperature in degree Fahrenheit: " << fahr << " F" << endl;
}
//option for converting Fahrenheit into Celsius
else if (option == '2')
{
cout << "Enter the temperature in Fahrenheit: ";
cin >> fahr;
cel = (fahr - 32) / 1.8; //temperature conversion formula
cout << "\nTemperature in degree Celsius: " << cel << " C" << endl;
}
else
cout << "Error Wrong Input." << endl;
return 0;
https://t.me/PROGRAMINGLANGUAGES1
#include<iostream>
using namespace std;
int main()
{
float fahr, cel;
char option;
cout << "Choose from following option:" << endl;
cout << "1. Celsius to Fahrenheit." << endl;
cout << "2. Fahrenheit to Celsius." << endl;
cin >> option;
//option for converting celsius into fahernheit
if (option == '1')
{
cout << "Enter the temperature in Celsius: ";
cin >> cel;
fahr = (1.8 * cel) + 32.0; //temperature conversion formula
cout << "\nTemperature in degree Fahrenheit: " << fahr << " F" << endl;
}
//option for converting Fahrenheit into Celsius
else if (option == '2')
{
cout << "Enter the temperature in Fahrenheit: ";
cin >> fahr;
cel = (fahr - 32) / 1.8; //temperature conversion formula
cout << "\nTemperature in degree Celsius: " << cel << " C" << endl;
}
else
cout << "Error Wrong Input." << endl;
return 0;
https://t.me/PROGRAMINGLANGUAGES1
π1π₯1
ppt from chapter #3_#5 for c++ππ»π» https://t.me/PROGRAMINGLANGUAGES1
π1
@uestion from pointerππΏβ
#include <iostream>
using namespace std;
int main() {
int value1 = 6, value2=14;
int *p1 , *p2;
p1=&value1;
p2 =&value2;
*p1 = 10;
*p2 = *p1;
p1 = p2;
*p1=20;
cout Β«" the value of value1 is: " Β« value1 Β« endl;
cout Β«" the value of value2 is: " Β« value2 Β« endl;
}
what is the output of this c++ code Is: https://t.me/PROGRAMINGLANGUAGES1/152
#include <iostream>
using namespace std;
int main() {
int value1 = 6, value2=14;
int *p1 , *p2;
p1=&value1;
p2 =&value2;
*p1 = 10;
*p2 = *p1;
p1 = p2;
*p1=20;
cout Β«" the value of value1 is: " Β« value1 Β« endl;
cout Β«" the value of value2 is: " Β« value2 Β« endl;
}
what is the output of this c++ code Is: https://t.me/PROGRAMINGLANGUAGES1/152
Telegram
LEARN TO CODE
the output of value1 and value2 is β- and ββ respectively.
10 & 14 / 6 & 14 / 10 & 20 / 6 & 20 / NONE
10 & 14 / 6 & 14 / 10 & 20 / 6 & 20 / NONE
π2β€1
the output of value1 and value2 is β- and ββ respectively.
Anonymous Poll
5%
10 & 14
28%
6 & 14
51%
10 & 20
5%
6 & 20
12%
NONE
π7π1
AAU_COMPUTER_PROGRAMMING_FINAL_EXAM.pdf
318.1 KB
c++ last year's final π»-AAUπ computer programming
β€1
Media is too big
VIEW IN TELEGRAM
[ Video ]
let's invite you nice youtube channel for learning code in Amharic(if you do not know). <ethio programing>
βΌοΈNOT βοΈ SPONSERED PROMOTIONπ π
let's invite you nice youtube channel for learning code in Amharic(if you do not know). <ethio programing>
βΌοΈNOT βοΈ SPONSERED PROMOTIONπ π
A palidrome is a number that ββββββ- βββββββββββββ-
Anonymous Quiz
13%
ends the looping by inputing a value from the user
10%
is sorted in either increasing or dcreasing order
65%
reads the same after reversing the original number
8%
is a merged number from two numbers
4%
NONE
β€1
Which one of the following unconditional selection statements is used outside a loop?,...
Anonymous Quiz
21%
Exit
34%
Goto
18%
Break
14%
Continue
13%
NONE
π2
look at the given choices and choose the incorrect alternative about function.
Anonymous Quiz
25%
a function without a parameter can be either left as free or void as parameter
19%
call function by reference indicates that the values of arguments are stored into function.
9%
default arguments are declared in function declaration, but no in function definition
16%
two different variables can have the same name
31%
the function call is similar to its declaration even the return type is not determined
0%
NONE
π2π€©2
//a program to search a number from the array
#include <iostream>
using namespace std;
int main()
{
int rollno[10]={13,34,46,56,35,87,54,9,22,23};
int r,m=0;
cout <<"rollno is given below as follows: \n";
for(int i=0;i<10;i++){
cout <<rollno[i] <<" ";
}
cout <<"\n enter your rollno from the given: \n";
cin >>r;
for(int i=0;i<10;i++)
{
if(r==rollno[i]){
cout <<"your rollno is found at: " << i+1;
m=1;
}
}if(m==0){
cout <<"rollno is not found!";
}
return 0;
}
https://t.me/PROGRAMINGLANGUAGES1
#include <iostream>
using namespace std;
int main()
{
int rollno[10]={13,34,46,56,35,87,54,9,22,23};
int r,m=0;
cout <<"rollno is given below as follows: \n";
for(int i=0;i<10;i++){
cout <<rollno[i] <<" ";
}
cout <<"\n enter your rollno from the given: \n";
cin >>r;
for(int i=0;i<10;i++)
{
if(r==rollno[i]){
cout <<"your rollno is found at: " << i+1;
m=1;
}
}if(m==0){
cout <<"rollno is not found!";
}
return 0;
}
https://t.me/PROGRAMINGLANGUAGES1
π₯2