Answer:
The program using do-while loop defined as follows:
Program:
#include <stdio.h> //include header file
int main() //defining main method
{
int i = 0; //defining integer variable i and assign value.
//defining do-while loop
do
{
printf("%d", ++i); //print value
}while (i<5); //check condition
return 0;
}
Output:
12345
Explanation:
Output of given program:
In the given program, it will not print any value because in while loop semi colon is used which is not valid.
Program Explanation:
In the above C language program header file is included, which provides features to use basic function then the main method is defined inside this method an integer variable "i" declare, that holds a value which is "0". In this method, the do-while loop is defined. In the do section, we print value and in the while block checks the condition which is i is less than 5.
Answer:
Explanation:
Photoshop format (PSD) is the default file format and the only format, besides the Large Document Format (PSB), that supports all Photoshop features.
The careers with the career clusters are:
A. Architecture and construction:
B. manufacturing:
- Sewing machine operator
- Quality assurance inspector
C. Agriculture, food and natural resources:
- Animal trainer
- Farm labor and contractor
D. Energy
- Wind turbine engineer
- Electrician
<h3>What is a career cluster?</h3>
Career Clusters are known to be made up of different occupations that belongs to the same field of work that often needs the same skills.
Therefore, the matchup above are correct.
See full question below
Match the careers with the career clusters. (two answers in each group)
CAREERS
1. electrician
2. wind turbine engineer
3. sewing machine operator
4. geologist
5. quality assurance inspector
6. farm labor contractor
7. animal trainer
8. carpenter
GROUPS
A. architecture and construction
B. manufacturing
C. agriculture, food and natural resources
D. energy
Learn more about career from
brainly.com/question/11952179
#SPJ1
Answer & Explanation:
To print 10 on a line and each number separated by space; you make the following modifications.
print(str(i)+" ",end=' ')
str(i)-> represents the actual number to be printed
" "-> puts a space after the number is printed
end = ' ' -> allows printing to continue on the same line
if(count == 10):
print(' ')
The above line checks if count variable is 10;
If yes, a blank is printed which allows printing to start on a new line;
The modified code is as follows (Also, see attachment for proper indentation)
count = 0
for i in range(100,201):
if(i%6 == 0 and i%5!=0) or (i%5 ==0 and i%6!=0):
print(str(i)+" ",end=' ')
count = count + 1
if(count == 10):
print(' ')
count = 0
Answer: (B): Round Robin
Explanation: Load Balancing refers to the systemic and effective distribution of network or application traffic across multiple severs in a sever farm. Every algorithm that balances load sits between the client's device and the back end severs.
Load Balancers are majorly used to increase the reliability and capacity of applications.
Round Robin is a type of algorithm that can be used to upgrade a website with load balancing features. It is the most widely used load balancing algorithm and it is a simple way to distribute requests across a group of servers.