This was the most difficult quiz by this time because I don’t know pretty much how to write a vector. Today was my class of Mechatronic introduction and by luck one of my partners is a member of the another… Continue Reading →
Photo credit: https://flic.kr/p/oqVWyd Aquí esta mi examen, al principio tenia varios problemas pero lei el libro y lo resolví todo. Aqui esta el link del código: https://github.com/BrayanGc/Codigos/blob/master/Q8q1.cpp
Well, i still don’t get this quiz, i had to search thru my classmates codes to barely understand how it works, Carmina’s Code is great, i got a glimpse of how it should be made, anyway, here it is, i still have my doubts about this, i hope i can clear them out before the […]
I had some difficulties but I read the book and watch some videos to know how to use vectors. #include <iostream> #include <vector> using namespace std; int sumsquare_list(vector <int> cuad){ int sum; cout << “Escribe valores de los que quieres sumar sus cuadrados. ” << endl << “Para terminar de dar los numeros teclee 0” […]
Photo credit: https://flic.kr/p/oqVWyd Aquí esta mi examen, al principio tenia varios problemas pero lei el libro y lo resolví todo. Aqui esta el link del código: https://github.com/BrayanGc/Codigos/blob/master/Q8q1.cpp
This time, the quiz was about making a list that would calculate the sum of the squares of the elements in the list, vectors are a little bit confusing,but here is a really simple way of doing this quiz.
Q1: https://github.com/samanthariverac/TC101/blo…
I had some difficulties but I read the book and watch some videos to know how to use vectors. #include <iostream> #include <vector> using namespace std; int sumsquare_list(vector <int> cuad){ int sum; cout << “Escribe valores de los que quieres sumar sus cuadrados. ” << endl << “Para terminar de dar los numeros teclee 0” […]
So the quiz asks me to write a program that recieves two lists, and multiplies the first element of the first list times the first element of the second list and so on. So it was easy, I used two while loops to recieve the … Continúa leyendo Quiz 08: Scalar multiplication
So the quiz asks me to write a program that recieves two lists, and multiplies the first element of the first list times the first element of the second list and so on. So it was easy, I used two while loops to recieve the … Continúa leyendo Quiz 08: Scalar multiplication
This time, the quiz was about making a list that would calculate the sum of the squares of the elements in the list, vectors and arrays are a little bit confusing,but here is a really simple way of doing this quiz. Q1: https://github.com/samanthariverac/TC101/blob/master/%23quiz08%20q1