1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
kozerog [31]
4 years ago
7

Given an int variable k that has already been declared, write some code that uses a for loop to print a single line consisting o

f 97 asterisks. Use no variables other than k.
Computers and Technology
1 answer:
yawa3891 [41]4 years ago
6 0

Answer:

The program to the given statement can be defined as follows:

Program:

//header file

#include <stdio.h> //defining header file

int main() //defining main method

{

int k; //defining integer variable k

for (k=1;k<=97;k++) //defining for loop

{

printf("*"); //print value asterisks

}

return 0;

}

Output:

*************************************************************************************************

Explanation:

Firstly, the headers file is included in the above C-language, and then the main method is described and all computations are performed with this method, which can be described as follows:

  • Inside the main method, an integer variable k is declared.
  • In the next line, the for loop is declared, which uses the variable k, which starts from 1 and ends when the value of k is less than equal to 97, inside the loop, it will print asterisks.
You might be interested in
Which math operator is used to show multiplication in a spreadsheet formula
Anna11 [10]

Astrix (*) is used to multiply

Example: 5*5 (the answer would come out as 25)

If you’re using Excel, do it in the formula bar of course.

8 0
3 years ago
Which term was used to define the era of the Internet, when the web became a "platform" for user-generated input, as opposed to
Pachacha [2.7K]

Hello, The answer to your question is:-

<em><u>Option </u></em><em><u>"</u></em><em><u>Web </u></em><em><u>2</u></em><em><u>.</u></em><em><u>0</u></em><em><u>"</u></em>

<em><u>Reference and proof</u></em>:-

Web 2.0 refers to websites that emphasize <u>user-generated content</u>, ease of use, participatory culture and interoperability (i.e., compatible with other products, systems, and devices) for end users.

Hope it helps you...

Answered by Benjemin ☺️

✅

5 0
3 years ago
Which toolbar is used to change the appearance of text in a presentation?
zmey [24]

Most of them are but id say

the bold, italic and underline are most popular

7 0
3 years ago
Read 2 more answers
I need help... Simple java
OLga [1]

Answer: you need to  add the numbers instead  of the letters depending on the  question

Explanation:

5 0
3 years ago
Which term refers to a textual description that uses English-like instructions combined with certain key programming terms to so
MAVERICK [17]

Answer:

Get terraria

Explanation:

play terraria

3 0
3 years ago
Other questions:
  • Ten 9600-bps lines are to be multiplexed using TDM. a. Ignoring overhead bits in the TDM frame, what is the total capacity requi
    6·1 answer
  • How long before a speech should you begin practicing?
    10·2 answers
  • Why might a photographer be interested in capturing the human element in his/her images? Describe your favorite example that dem
    5·1 answer
  • What are three special purpose devices you might find in a data center and what do they do?
    10·1 answer
  • TCO 10) Voice packets could experience a significant _____ delay in routers and switches when sharing a network with data traffi
    15·1 answer
  • Making sure that your business has something special and distinct to offer is known as?
    12·1 answer
  • The most common Unicode transformation formats are UTF- ______ and UTF-16.
    9·1 answer
  • What is system software?
    14·1 answer
  • Execute and explain this program using // in Layman's language. Thank you!
    7·1 answer
  • PYTHON --- Toll roads have different fees based on the time of day and on weekends. Write a function calc_toll() that has three
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!