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
Mashutka [201]
3 years ago
8

Write a algorithm to attend birthday party​

Computers and Technology
2 answers:
kolezko [41]3 years ago
8 0

Answer:

2     No

5 14    Yes

Explanation:

topjm [15]3 years ago
6 0
Hdbdhfhfbfbfbfbfbfbfbfbfbfbfbf
You might be interested in
After clicking the Start button on your computer screen desktop, what option would you then select to examine system components
Sveta_85 [38]
You can find the components that you wanted to modify in : C. control panel

You can adjust your computer's setting through control panel, whether it's your system and security, hardware, net work setting, etc

hope this helps
4 0
4 years ago
Read 2 more answers
Match the instruments with their uses.
Aneli [31]
Microscope - 1
Telescope - 2
Ruler - 3
Streak plate - 4

7 0
3 years ago
Read 2 more answers
Help me..and thank you​
kotykmax [81]

Answer:

#include <stdio.h>

void spaces(int n) {

 for(int i=0; i<n; i++) {

   putchar(' ');

 }

}

void numbersdown(int n) {

 for(int i=n; i>1; i--) {

   putchar('0'+i);

 }

}

void numbersup(int n) {

 for(int i=1; i<=n; i++) {

   putchar('0'+i);

 }

 putchar('\n');

}

int main(void) {

 int number;

 printf("Please enter a digit: ");

 scanf("%d", &number);

 for(int i=number; i>0; i--)

 {

   spaces(number-i);

   numbersdown(i);  

   numbersup(i);    

 }

}

Explanation:

I deliberately separated the solution into different functions for readability. If needed, the code could be made much more compact.

7 0
3 years ago
Write a program that asks the user to guess the next roll of a six-sided die. Each guess costs $ 1. If they guess correctly, the
jasenka [17]

Answer in python:

import random

money = 10

winnings = 0

def main():

global winnings

global money

dice_num = random.randrange(1,6)

input_str = "Guess the dice number. You have $"+str(money)+" > "

input_num = input(input_str)

if int(input_num) == dice_num:

 money = money + 10

 winnings = winnings + 10

else:

 money = money - 1

if money < 0:

 print("You lose. You won "+str(winnings)+" times. Press enter to try again")

 useless_variable = input()

 main()

else:

 main()  

main()

Explanation:

3 0
3 years ago
Ben has to write a note on color concepts. Help him complete the following sentences.
k0ka [10]
<span>Ben has to write a note on color concepts. Help him complete the following sentences.
When light hits a surface, the surface absorbs some of the light and reflects the rest. The color that you see depends on which light waves the surface reflects
( reflects, absorbs, emits) the most. You perceive objects as having a specific color because of these constituent ______( rays, colors, intensities) of light.

I wasn't sure on the last one.</span>
5 0
4 years ago
Read 2 more answers
Other questions:
  • Whichof the following is not a standard method called as part of the JSPlife cycle?jspInit()jspService()_jspService()jspDestroy(
    12·1 answer
  • Technician A says that almost every part of a vehicle is somehow powered by or controlled by an electrical or electronic system.
    9·2 answers
  • What is the base for a hexadecimal number system?
    11·1 answer
  • Creating a Graphical User Interface in Java
    11·1 answer
  • Somebody supplied me with a file that was edited on a Windows machine. The file contains carriage returns in addition to the new
    9·1 answer
  • Assume that strikeCounter has already been declared to be a "pointer to int". Assume further that strikeCounter has been initial
    5·1 answer
  • HELPPP I cand find my sound card/driver on my computer, and I cant hear anything, I have tried to update the audio driver, but w
    7·1 answer
  • Besides entering a URL to go directly to a website, what else can you enter in a browser address bar to explore the internet?
    9·1 answer
  • If non-series-rated overcurrent devices (standard molded-case circuit breakers) are to be installed in the main switchboard, bre
    6·1 answer
  • What type of data causes concern for institutions are businesses Lincoln elected stored and not secured properly
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!