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
dimulka [17.4K]
3 years ago
11

Give the one simple program using c++programming language​

Computers and Technology
1 answer:
wariber [46]3 years ago
7 0

Answer:

the ejedjrjr eenekrr

eueeue

Explanation:

u4rururirw

You might be interested in
A(n) _____ is a list at the beginning of a publication that shows the main topics in a book or report and provides page numbers
ExtremeBDS [4]
Index or table of contents
5 0
4 years ago
Read 2 more answers
Please you will get branlest for all cerect and awser first
FromTheMoon [43]

Answer:

b

Explanation:

I believe that is correct

6 0
3 years ago
Read 2 more answers
Integrity broadly means limiting disclosure of information to authorized individuals. For example, if the principle of integrity
Dominik [7]

Answer:

t doesnt work

Explanation:

7 0
3 years ago
Throughout the reflection, make sure you have a copy of the Student Guide and your data tables. Complete the
Brut [27]

Answer:

"ph" is the first one, "ground" is the second one

Explanation:

i just took the quiz

3 0
4 years ago
Read 2 more answers
Write a program named BinaryToDecimal.java that reads a 4-bit binary number from the keyboard as a string and then converts it i
Mars2501 [29]

Answer:

import java.util.*;

public class BinaryToDecimal

{

public static void main(String[] args) {

    Scanner input = new Scanner(System.in);

    String binaryNumber;

    int decimalNumber = 0;

   

 System.out.print("Enter the binary number: ");

 binaryNumber = input.nextLine();

 

 for(int i=0; i<binaryNumber.length(); i++){

     char c = binaryNumber.charAt(binaryNumber.length()-1-i);

     int digit = Character.getNumericValue(c);

     decimalNumber += (digit * Math.pow(2, i));

 }

 System.out.println(decimalNumber);

}

}

Explanation:

Create a Scanner object to be able to get input from the user

Declare the variables

Ask the user to enter the binaryNumber as a String

Create a for loop that iterates through the binaryNumber. Get each character using charAt() method. Convert that character to an integer value using Character.getNumericValue(). Add the multiplication of integer value and 2 to the power of i to the decimalNumber variable (cumulative sum)

When the loop is done, print the decimalNumber variable

5 0
3 years ago
Other questions:
  • Jane is designing a print brochure for a retail company. She’s having trouble deciding on the page margin. Which best practice w
    13·2 answers
  • Everyone should try to be an NFL quarterback because they earn so much money. True or False
    9·2 answers
  • When you format text, what are you doing?
    6·2 answers
  • In the world of computers, the term ____ refers to the computerâs physical components, such as the monitor, keyboard, motherboar
    14·1 answer
  • Use the Internet to gather information on four filesystems compatible with Linux. For each filesystem, list the situations for w
    12·1 answer
  • What third-party application serves as an alternative to OneNote?
    10·2 answers
  • Explain why an organization's firewall should block outgoing packets the source addresses of which are not in the organization's
    10·1 answer
  • Who you think is better? Ninja or TFue ,btw do you know who icebear is?
    9·1 answer
  • Types of network model​
    11·1 answer
  • Name at least 3 different portable computer devices that can be purchased
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!