Introduction to Programming Python and C++

Tag Archives: #WSQ03

WSQ03

We’re now going to have lots of fun with numbers! This is the preamble for functions, so it is a very important task to know what we’re doing here for future works. The code is shown here below, where we defining the variables before the main function, while making the calculations in the main function. … Continue reading WSQ03

WSQ03

We’re now going to have lots of fun with numbers! This is the preamble for functions, so it is a very important task to know what we’re doing here for future works. The code is shown here below, where we defining the variables before the main function, while making the calculations in the main function. … Continue reading WSQ03

WSQ03

We’re now going to have lots of fun with numbers! This is the preamble for functions, so it is a very important task to know what we’re doing here for future works. The code is shown here below, where we defining the variables before the main function, while making the calculations in the main function. … Continue reading WSQ03

#WSQ03 Fun with numbers

Para hacer este código me apoyé en el libro y aparte me explicaron algunos amigos las dudas que tuve, sobre todo con la sintaxis. Mi código es este: // WSQ03 Basic math #include <iostream> using namespace std; int main() { int x; int y; cout <<“Dame el primer número ” <<endl; cin >>(x); cout <<“Dame […]

Fun With Numbers

This is the code for a program that gives you the sum, substraction, mutiplication and division of to number given by the user.This is the code of the program:And this is how it looks ike when you run it:

#WSQ03

Basically what I did was to give to integers and then give them a value which will interact with the other. #include <iostream> using namespace std; int main (){ int x; int y; cout << “Introduce un numeron”; cin >> x; cout << “Introduce otro numeron”; cin >> y; cout << “El resultado de la […]

Fun with numbers

#include <iostream> using namespace std; int main() { int a,b,c,d,f,g; cout << “Dime número A” << endl; cin >> a; cout << “Dime número B” << endl; cin >> b; c = a + b; d = a * b; f = a/b; g = a%b; cout << “El resultado son los siguientes” << endl…

WSQ03, Having fun with numbers

Here I am going to show you how I done the WSQ03. It is call “Fun with numbers”, and it is about making simple functions. I know, best day ever. So here I’ll put an image about my program, and the I explain it: Gaze at the program, try to understand it and then read […]

WSQ03 – Fun With Numbers

This program is pretty simple. It asks the user to give it two integers and returns the multiplication, sum, subtraction, and integer division of the two integers.

WSQ03

https://github.com/estebanpinal/WSQ/blob/master/WSQ03

What should you work on?

Week #12 and more partial exams for you.

For this week's readings:
C++ (TC1017) should either be looking at support for your project, ImageMagick C++ libraries are a good start.
Python (TC1014) should be finishing chapter 11 (Dictionaries).