Posts by Rhama Krisner • 11 points
4 posts
-
-1
votes1
answer25
viewsQ: I’m having an error in my c++ exercise. What can I do to fix it?
#include <math.h> #include <iomanip> #include <iostream> using namespace std; int main() { float R; float pi = 3.14159; float volume = (4.0 / 3) * pi * pow(R, 3); cin >> R;…
c++asked Rhama Krisner 11 -
-1
votes1
answer55
viewsQ: Show JS for loop output
I am learning Javascript and am having trouble showing on the screen the loop of numbers placed inside the inputs. function contar(){ var inicio =…
-
-1
votes1
answer1064
viewsQ: Javascript error [Object Htmldivelement]
I do not know what to do to have the correct result with this code. Because whenever I have checked it returns me this result. I tried to make use of the document.querySelector. But the error…
-
-1
votes2
answers49
viewsQ: I started studying Java Script, and I’m having a problem with my code ( from an exercise). And I have no idea how to solve the problem
function val(x, y, z) { if (x !== undefined && y === undefined && z === undefined) { return x; } else if(x !== undefined && y !== undefined) { return x +…