Beginner Class 45
- Lecture1.1
- Lecture1.2
- Lecture1.3
- Lecture1.4
- Lecture1.5
- Lecture1.6
- Lecture1.7
- Lecture1.8
- Quiz1.1
- Lecture1.9
- Lecture1.10
- Lecture1.11
- Lecture1.12
- Lecture1.13
- Lecture1.14
- Lecture1.15
- Lecture1.16
- Quiz1.2
- Lecture1.17
- Lecture1.18
- Lecture1.19
- Lecture1.20
- Lecture1.21
- Lecture1.22
- Lecture1.23
- Lecture1.24
- Quiz1.3
- Lecture1.25
- Lecture1.26
- Lecture1.27
- Lecture1.28
- Lecture1.29
- Lecture1.30
- Lecture1.31
- Lecture1.32
- Lecture1.33
- Lecture1.34
- Lecture1.35
- Lecture1.36
- Lecture1.37
- Lecture1.38
- Quiz1.4
- Lecture1.39
- Lecture1.40
- Lecture1.41
Pro Class 15
- Lecture2.1
- Lecture2.2
- Lecture2.3
- Lecture2.4
- Lecture2.5
- Lecture2.6
- Lecture2.7
- Lecture2.8
- Lecture2.9
- Lecture2.10
- Lecture2.11
- Lecture2.12
- Lecture2.13
- Lecture2.14
- Quiz2.1
Master Class 48
- Lecture3.1
- Lecture3.2
- Lecture3.3
- Lecture3.4
- Lecture3.5
- Lecture3.6
- Lecture3.7
- Lecture3.8
- Lecture3.9
- Lecture3.10
- Lecture3.11
- Lecture3.12
- Lecture3.13
- Lecture3.14
- Lecture3.15
- Lecture3.16
- Lecture3.17
- Lecture3.18
- Quiz3.1
- Lecture3.19
- Lecture3.20
- Lecture3.21
- Lecture3.22
- Lecture3.23
- Lecture3.24
- Lecture3.25
- Quiz3.2
- Lecture3.26
- Lecture3.27
- Lecture3.28
- Lecture3.29
- Lecture3.30
- Lecture3.31
- Lecture3.32
- Lecture3.33
- Lecture3.34
- Lecture3.35
- Lecture3.36
- Lecture3.37
- Lecture3.38
- Lecture3.39
- Lecture3.40
- Quiz3.3
- Lecture3.41
- Lecture3.42
- Lecture3.43
- Lecture3.44
- Lecture3.45
Ultimate Class 28
- Lecture4.1
- Lecture4.2
- Lecture4.3
- Lecture4.4
- Lecture4.5
- Lecture4.6
- Lecture4.7
- Lecture4.8
- Quiz4.1
- Lecture4.9
- Lecture4.10
- Lecture4.11
- Lecture4.12
- Lecture4.13
- Lecture4.14
- Lecture4.15
- Lecture4.16
- Lecture4.17
- Lecture4.18
- Lecture4.19
- Lecture4.20
- Lecture4.21
- Lecture4.22
- Lecture4.23
- Lecture4.24
- Lecture4.25
- Lecture4.26
- Lecture4.27
Game Development 5
- Lecture5.1
- Lecture5.2
- Lecture5.3
- Lecture5.4
- Lecture5.5
Application Development 6
- Lecture6.1
- Lecture6.2
- Lecture6.3
- Lecture6.4
- Lecture6.5
- Lecture6.6
This content is protected, please login and enroll course to view this content!
Leave A Reply Cancel reply
- P.D.E03/06/2020
Yes sir .we will take you from an absolute beginner to a master software developer
19 Comments
hello sir, this is a job well done sir. just completed the beginners class. will be trying out the projects and sharing my codes/challenges in the comment section here for your correction and further guidance. thank you so much.
Love your spirit and determination
PROJECT 1
Challenges: 1. code display starting from 705, so i changed x<=1000 to x<=100.
2. code for skipping 10,20,30,…up to 1000 will be too long, what is the shortcut sir?
code
#include
using namespace std;
int main()
{
for(int x=1; x<=100; x++){
if(x==10 || x==20 || x==30 || x==40 || x==50 ||
x==60 || x==70 || x==80 || x==90 || x==100){continue;
}
cout <<x << endl;
}
}
? . that is the project
project 2.
had no challenge with this one
code
#include
using namespace std;
float subtraction(float x, float y){
return x-y;
}
int main()
{
float firstvalue;
float secondvalue;
cout <>firstvalue;
cout <>secondvalue;
cout <<endl <<endl;
cout << "The Subtraction is: " << subtraction(firstvalue,secondvalue)<<endl;
}
well done.
check out the symbols.
cin >>
project 3.
code
#include
using namespace std;
int main()
{
string yourname;
float height;
cout <> yourname;
cout <> height;
if (height <= 4){
cout << yourname;
cout <= 4 && height <= 8){
cout << yourname;
cout <= 8.1){
cout << yourname;
cout <<", you are Tall" << endl;
}
cout << endl << endl;
cout << "THANK YOU " << yourname <<", for using our height tester";
}
check this out again. I think you lost some codes during the copy.
project 4
code
#include
using namespace std;
//project4, building an app to calculate ((a*a)-2c)/b
float firstpart (float a){
return a*a;
}
float secondpart(float c){
return 2*c;
}
float thirdpart (float b){
return b;
}
int main()
{
float firstv;
float secondv;
float thirdv;
cout <> firstv;
cout <> secondv;
cout <> thirdv;
float firstcal;
firstcal = firstpart(firstv) – secondpart(secondv);
float finalResult;
finalResult = firstcal/thirdpart(thirdv);
cout <<endl <<endl;
cout <<"The final result of ((a*a)-2c)/b is "<<finalResult;
}
Nice try.
I suggest you watch the lesson we built the quadratic calculator together, to know how to build this calculator.
project 5
code
#include
using namespace std;
//project5. build and app using structures and objects.
struct churchdata{
string name;
int age;
string society;
};
int main()
{
churchdata member1;
churchdata member2;
churchdata member3;
cout <>member1.name;
cout <>member1.age;
cout <>member1.society;
cout <<endl<<endl<<endl;
cout <>member2.name;
cout <>member2.age;
cout <>member2.society;
cout <<endl<<endl<<endl;
cout <>member3.name;
cout <>member3.age;
cout <>member3.society;
cout <<endl<<endl<<endl;
cout <<" The First Member Name is: " <<member1.name <<endl;
cout <<" The First Member age is: " <<member1.age<<endl;
cout <<" The First Member society is: " <<member1.society<<endl;
cout<<endl<<endl;
cout <<" The Second Member Name is: " <<member2.name <<endl;
cout <<" The Second Member age is: " <<member2.age<<endl;
cout <<" The Second Member society is: " <<member2.society<<endl;
cout<<endl<<endl;
cout <<" The Third Member Name is: " <<member3.name <<endl;
cout <<" The Third Member age is: " <<member3.age<<endl;
cout <<" The Third Member society is: " <<member3.society<<endl;
}
great one! , check out the cin >>
project6
code
#include
using namespace std;
/*project6;this application is designed to capture the quantity
and total price of a product sold in a year, report/day using array*/
int main()
{
int days[365];
int purchase = 0;
int TotalQuantitySold = 0;
cout <> days[purchase];
while (purchase<=365){
TotalQuantitySold += days[purchase];
purchase++;
cout <> days [purchase];
if (days [purchase] == 365){
break;
}
}
cout <<endl<<endl;
int Price = 20;
int TotalPriceSold = Price * TotalQuantitySold;
cout << "The Number of days sales were made is: " << purchase <<endl;
cout << "The Total Number of Goods Purchased is: "<< TotalQuantitySold <<endl;
cout << "The Total Price of Purchased product is: "<< TotalPriceSold;
}
well calculated, nice project!
I think you made a mistake with your symbol ( cin >> )
project 7
code
#include
using namespace std;
//project7, double for loop
int main()
{
for(int x=1; x<5; x++){
cout <<x ;
cout <<" hello world" <<endl;
for(int y=1; y<2; y++){
cout<<"This is Awesome" <<endl;
cout<<"Thank You Mr Precious"<<endl;
}
cout<<endl;
}
}
LOL? . love this in particular
project8
code
#include
using namespace std;
//a simple project using string, void and int functions
string userBio(){
string yourname;
cout <> yourname;
return yourname;
}
void ages(){
int age;
cout<>age;
}
float calculate(){
int x;
int y;
cout<>x;
cout<>y;
return x+y;
}
int main()
{
string name;
name = userBio();
ages();
int total;
total = calculate();
cout<<endl <<endl;
cout <<name;
cout<< ", The Total is: "<< total <<endl;
}
wow, great job!.
I am impressed with the string function. Well done man!
and I think you made a mistake with your symbol ( cin >> )
#include
using namespace std;
int main(){
//project 6
string name[10] = {“Emeka”, “Jonas”, “Jane”, “Agnes”, “Lucy”, “Garry”, “Adam”, “Micheal”, “Michelle”, “Ophelia”};
for(int i = 1; i <= 10; i++){
cout << i <<" " <<name[i] <<endl;
};
return 0;
}