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
lapo4ka [179]
3 years ago
7

Write the definition of a function named newbie that receives no parameters and returns 1 the first time it is invoked (when it

is a "newbie"), and that returns 0 every time that it is invoked after that.
Computers and Technology
1 answer:
nikklg [1K]3 years ago
4 0
Int  newbie(void){
static  int  a;
if(!a) {a=1;return  1;}
return 0;
}

You might be interested in
All of the following are advantages of database-stored information, except: Question 3 options: 1) Reduced information redundanc
enot [183]

Answer:

3) Reduced information integrity.

Explanation:

This is not an advantage, Information integrity is a key factor when storing information on a database. As multiple users will access it, they will need this data to be authentic and dependable. Any reduction in information integrity is a great disadvantage.

5 0
3 years ago
The program that is BEST suited
Troyanec [42]

Answer:

everything

Explanation:

cuz I use everything and they all work good

6 0
3 years ago
"Using the printf method, print the values of the integer variables bottles and cans so that the output looks like this: Bottles
Anika [276]

Answer:

import java.util.Scanner;

public class Main

{

public static void main(String[] args) {

       Scanner in = new Scanner(System.in);

       

       System.out.println("Enter the number of bottles and cans:");

       int numberOfbottles = in.nextInt();

       int numberOfcans = in.nextInt();

       System.out.printf("Bottles: %8d\n", numberOfbottles);

       System.out.printf("Cans:    %8d\n", numberOfcans);

}

}

Explanation:

Ask user to input the number of bottles and cans using Scanner class

Print the results so that the numbers to the right line up (Since we know that the numbers have at most 8 digits, we can use %8d in printf. Also, be aware that how printf statements are written so that the numbers line up)

6 0
3 years ago
Can someone tell me what Identity Theft in there own words
gavmur [86]
Stealing someone else’s identity or identification
8 0
3 years ago
You have video-recorded a friend’s birthday party. You compressed the video so it uploads quickly. What are some signs that you
Hatshy [7]

Answer:

(A) graphical glitches (B) choppy frames (D) sound that does not match motion

Explanation:

I did the assignment and (A) (B) (D) were correct.

                                           hope it helps

4 0
3 years ago
Other questions:
  • What comes to mind when you see/hear QWERTY?
    14·2 answers
  • Jason is computer professional who has access to sensitive information. He shares this information with another organization in
    7·2 answers
  • What is the process called that occurs when you start up your computer? A Download B Restore C Boot D Copy
    12·2 answers
  • The large program that controls how the CPU communicates with other components is the​
    9·1 answer
  • Olivia started working last year. By April 15th, she will need to prepare and send the Federal government _____.
    15·2 answers
  • In what software development model does activity progress in a lock-step sequential process where no phase begins until the prev
    7·1 answer
  • Need help asap<br> give the correct answer!!
    15·2 answers
  • Given two integers as user inputs that represent the number of drinks to buy and the number of bottles to restock, create a Vend
    10·1 answer
  • How do you add verticse in edit mode blender
    5·1 answer
  • 2. How much did John Jones have in his account on the first day of the
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!