C Code:
#include <stdio.h> // Enables use of printf
#include <stdlib.h> // Enables use of rand()
#include <time.h> // Enables use of time()
int main(void)
{
srand(time(0));
int random1 = rand()% 50 + 100;
int random2 = rand()% 50 + 100;
printf("%d\n", random1);
printf("%d\n", random2);
return 0;
}
Output:
115
141
Explanation:
Each time program executes, srand() function generates new random numbers.
rand()%50 + 100 makes sure that number is 2 digit and within the range of 100 to 150.
Then we print the two random numbers where %d represents that we want to print an integer and \n represents new line
Answer:in footer
Explanation:
It When you look at a book for example the page number is always in the bottom which the footer can allow you to add the page number
I'm No. 11 of the Fatui Harbingers, codename Childe, but I also go by Tartaglia. And you... Hmm, you too like to cause quite the stir, don't you? Something tells me we're going to get along splendidly.
Face me in person, man to man, and I'll always have a chance of beating you. Same goes if you're a deity or a monster from the abyss. But the Harbingers? They are more enamored with their intangible methods, spending their days scheming and maneuvering. This is why we cannot get along.
Comrade, a word of advice: Don't go yelling things in the heat of battle. They might sound good in your head, but if you think about it, they make no sense at all. I'm talking about things like, "I'm on fire!" That's the last thing we want. Fire leaves behind nothing but ashes. And you must survive at all costs.
Ah, how time flies. One day, you will see how I conquer the world and crush the thrones of gods beneath my heel. In the meantime... no dying, comrade! Keep yourself alive.
I can answer this but I need to know if it is a question because theres no question mark