Answer:
#include<stdio.h>
#include<stdlib.h>
int main(void){
int seedval;
scanf ("%d", &seedval);
srand(seedval);
printf("%d\n", rand()%10);
printf("%d\n", rand()%10);
return 0;
}
Explanation:
The given code is poorly formatted. So, I picked what is usable from the code to write the following lines of code:
#include<stdio.h>
#include<stdlib.h>
int main(void){
This line declares seedval as integer
int seedval;
This line gets user input for seedval
scanf ("%d", &seedval);
This line calls the srand function to generate random numbers
srand(seedval);
This prints a random number between 0 and 9
printf("%d\n", rand()%10);
This also prints a random number between 0 and 9
printf("%d\n", rand()%10);
return 0;
}
Answer:
The following program has several syntax errors as well as style inconsistencies.
ldentify a minimum of five syntax errors and three style violations. For an added
challenge, correct all errors.
/ wn
using Syat em;
nameapace ErrorExamp le
class ErrorExamp le
atatic void Main ()
int VALl
atring aValue
vall GETVall (aValue) ;
WriteLine ("value entered, plus one iso)",
+vall)
Readkey ( )
atatic GETVall ()
Write (" Enter a value: *);
aValue -readline ( )
vall int.Pare (aValue)
return int VALl1
Explanation:
Explanation is attached
I believe the correct answer is B) Chain of command.
~Silver
Answer:
Career resource website.
Explanation:
HTML is an acronym for hypertext markup language and it is a standard programming language which is used for designing, developing and creating web pages.
Generally, all HTML documents are divided into two (2) main parts; body and head. The head contains information such as version of HTML, title of a page, metadata, link to custom favicons and CSS etc. The body of the HTML document contains the contents or informations of a web page to be displayed.
In this scenario, Maya is a senior in high school and would like to pursue a career in web design. She needs more information about what skills and level of education are needed.
Hence, the type of resource which would be most helpful to Maya is a career resource website.
A career resource website can be defined as an online platform that offer a very clear, detailed and an elaborate approach to providing informative and helpful article, tips and advice on various career options with their specific requirements to both graduates and undergraduate students.
Software<span> uses the computer processor, memory, and hard drive to create and save documents
</span>hardware<span> is any physical device used in or with your machine, whereas </span>software<span> is a collection of code installed onto your computer's hard drive.
</span>