How do I print all even numbers from 0-100 in JavaScript?
Hello I'm desperate I have no idea how to output all even numbers from 0-100 in javascript. I need to do it without the modulo operator. Does anyone have a solution?
Hello I'm desperate I have no idea how to output all even numbers from 0-100 in javascript. I need to do it without the modulo operator. Does anyone have a solution?
A company produced 13,500 kg of a product last month, of which 10,800 kg were sold at a price of €180/kg. Manufacturing costs amounted to €1.62 million, of which two-thirds were fixed and one-third were variable. Administrative and distribution costs amounted to €0.54 million. Determine the operating result using the cost of sales method based…
I started a program on the Raspberry here. Now I want the variable in the channel to be set to False (first channel). In another channel it is set to True (not to Photo). Depending on how vari is in line 77, the channel Lsz should run. Unfortunately, it always jumps to the condition after…
Hello, I would like to explicitly initialize the static variable character with the null string. Static variables must be initialized outside of the class. How exactly do I do this with methods? char & String::operator[](int i){ static char zeichen; if(i >= strlen(txt)||(i < 0)){ return zeichen; } return txt[i]; } char String::zeichen = '\0';
Hey, a specific question, first an example: @echo off set /a counter=0 set /a counter=%counter%+1 set save%counter%=test%counter% echo [save%counter%] pause>nul I have a counter here that partially determines the name of the "save" variable. It should then look like this: it starts at "save1", then counts up in a loop and creates a newly numbered…
Can you put an integer variable in a pair of brackets? And does it work if you use arithmetic symbols like plus or minus times divided?
Hello, Attached is an image of the code (which should not be changed) in which the input values are collected. Now, the homework is to use another loop (anything except for foreach is allowed) to determine the highest value of the input. Unfortunately, nothing I've tried has worked, so I wanted to ask if anyone…
Why is "80" the assigned value of the variable "speedLimit" here and how do I know that it is not a literal?
I need a function that returns the position of the period symbol from a variable, e.g., set %var%=xy. X and y can have different lengths, so the period isn't always in the second position. Thanks! Kind regards
Using the virial equation at (c) for Z, I get 11-digit values by inserting B(T) and C(T). I calculated as follows: what did I do wrong?
Hi, I have the following problem: I have a variable that stores a string containing the name of another variable and I don't want to access the name but the value of the variable e.g. hallo = "blabla" guten_tag = "hallo" print(guten_tag) # gibt hallo aus soll aber blabla ausgeben
Hello everyone, I have a small web space and stored various graphics on it, which I would now like to display by calling the URL. Now I found the following PHP code on the Internet: https://sevenx.de/einfach-mit-php-ordner-auslesen-und-felder-und-bilder-anzeigen-tutorial/ There are several files included in the .zip file. I tested "images.php" and "files.php," and both work exactly as…