This quiz was really difficult for me. Rene Orozco bring me some help but I look for more help in http://www.cplusplus.com/forum/beginner/3212/.
Here is my first picture of the first part of the quiz (quiz 1)
This quiz was about a Fibonacci sequence, the user put a number and then the computer did the sequence with that number.
Here is my second picture of the second part of the quiz (quiz 2)
This quiz was really difficult but Rene Orozco help me and I used this link to watch for a solution http://stackoverflow.com/questions/8362572/check-if-a-string-is-palindrome
In this quiz the user has to put a string of words, and the computer will say if that string is palindrome or not, a palindrome is a word, phrase, number or other sequence which reads the same backward or forward.
]]>
This quiz was really difficult for me. Rene Orozco bring me some help but I look for more help in http:/
Here is my first picture of the first part of the quiz (quiz 1)
This quiz was about a Fibonacci sequence, the user put a number and then the computer did the sequence with that number.
Here is my second picture of the second part of the quiz (quiz 2)
This quiz was really difficult but Rene Orozco help me and I used this link to watch for a solution http:/
In this quiz the user has to put a string of words, and the computer will say if that string is palindrome or not, a palindrome is a word, phrase, number or other sequence which reads the same backward or forward.
]]>
In this WSQ I used the factorials, and what is that? you maybe are asking, this is a factorial:
In mathematics, the factorial of a non-negative integer n, denoted by n!, is the product of all positive integers less than or equal ton. For example,
And I´m here, yeah, you can ask me whatever about it, if I don´t know maybe I can talk with my classmates and help you, you little human, jajaja :).
#include <iostream>#include <cmath>
using namespace std;
int main(){
int num, factorial= 1;
cout<<"Enter number to find it´s factorial: ";
cin>>num;
for (int a=1; a<= num; a++)
{
factorial= factorial*a;
}
cout <<"The factorial is: over 9000 "<<endl;
cout <<"Na, I´m joking, this is the real: "<<factorial<<endl;
cout<<"Thanks for visiting us, see you "<<endl;
return 0;
}
Github link (This dark place where I save all my programs if you want, take a look over here):
https://github.com/MarAnMu13575/-WSQ09-Factorials/tree/master
]]>
In this WSQ I used the factorials, and what is that? you maybe are asking, this is a factorial:
In mathematics, the factorial of a non-negative integer n, denoted by n!, is the product of all positive integers less than or equal ton. For example,
And I´m here, yeah, you can ask me whatever about it, if I don´t know maybe I can talk with my classmates and help you, you little human, jajaja :).
#include <iostream>#include <cmath>
using namespace std;
int main(){
int num, factorial= 1;
cout<<"Enter number to find it´s factorial: ";
cin>>num;
for (int a=1; a<= num; a++)
{
factorial= factorial*a;
}
cout <<"The factorial is: over 9000 "<<endl;
cout <<"Na, I´m joking, this is the real: "<<factorial<<endl;
cout<<"Thanks for visiting us, see you "<<endl;
return 0;
}
Github link (This dark place where I save all my programs if you want, take a look over here):
https:/