Fun Quiz, a little bit tricky but fun, there’s a lot stress on this one, a lot people failed. But as Ken says it’s #OkToFail.<\/p>\n
Well back to business, in the first part of the quiz is make a function called “superpower” able to ask for two numbers and return the power of it on a long type. There’s a lot of methods you are able to, but the easiest one is with the library <cmath>, where you are able to call a function(wow) called ‘pow(x,y)’, that makes the power of two numbers, that’s it.<\/p>\n
And for the second part, you have to make a function called stars where you input the value of the length of a chain of stars, as said previously theres a lot of methods but the easiest one is with a for( ), below i will paste a link to the code for the Quiz #06.<\/p>\n
Thanks for reading.<\/p>\n
github Code for Quiz #06 flickr photo by\u00a0Craig\u00a0Sunter<\/strong>
\n<\/strong>https:\/\/github.com\/AndresSV\/TC1017\/blob\/master\/Quiz%20%2306%20.cpp<\/a>
\n<\/strong><\/p>\n
\nhttps:\/\/www.flickr.com\/photos\/16210667@N02\/13973604274<\/a>
\nCreative Commons Public Domain<\/p>\n