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
Simora [160]
3 years ago
11

AP CSA help needed. Java please.

Computers and Technology
1 answer:
leva [86]3 years ago
5 0
#include using namespace std;int main(){int year = 12,value = 10,total = 0;do{year++;value *= 2;total += value;}while(value*2 < 1000);cout << "Age: " << year << endl;cout << "Last gift: " << value << endl;cout << "Total: " << total << endl;cin.get();return 0;
You might be interested in
Three popular types of ____ are handheld computers, PDAs, smart phones.
m_a_m_a [10]

Answer:

portable media players, and digital cameras

Explanation:

4 0
3 years ago
Can we change the format of a field (e.g. Number to Dollars).
mixer [17]

I think the answer is

3 - Usually, but we may need to convert the data types (date to text)

Because we can change the format, but depends of the original format type and in what type you need to format.

I think this can help.

3 0
4 years ago
3. Encode these sentences in ASCII: a. "Stop!" Cheryl shouted. b. Does 2 + 3 = 5?​
Zepler [3.9K]

Answer:

"Stop!" Cheryl shouted.
34, 83, 116, 111, 112, 33, 34, 32, 67, 104, 101, 114, 121, 108, 32, 115, 104, 111, 117, 116, 101, 100, 46

Does 2 + 3 = 5?
68, 111, 101, 115, 32, 50, 32, 43, 32, 51, 32, 61, 32, 53, 63

I got these numbers with this python code:
print([ord(c) for c in '"Stop!" Cheryl shouted.'])
print([ord(c) for c in 'Does 2 + 3 = 5?'])

4 0
3 years ago
What is the output of the following?
lys-0071 [83]

Answer: a. the number is: 14

Explanation:

i mean just try to write in 7 instead of x in the second line

then it would say the number is: ....

what is 7 times 2?

14

so the answer is a

5 0
3 years ago
I have an android tablet, when I charged it, it was at 23%. I put away my charger and just started playing. My percent didn't go
Irina-Kira [14]
Try resetting the tablet and see what happens. If that doesn't work you can hard reset it (This will remove everything on your device and make it look brand new)
6 0
3 years ago
Other questions:
  • Assume the following rules of associativity and precedence for expressions:
    7·1 answer
  • Karen thinks she should go out with Blane, an unattractive, social misfit, because “If I don’t go out with him, people will thin
    7·1 answer
  • A window frame will expand to fill the entire desktop when you
    15·1 answer
  • _______ allows you to add formatting such as shapes and colors to text.
    14·1 answer
  • What type of values are typically stores in unweighted graphs
    5·1 answer
  • What do you think is the biggest threat to the security of your personal information?
    5·2 answers
  • How can I watch you-tube on my school computer without it being blocked on the computer when it uses Lightspeed Systems Relay or
    7·1 answer
  • If Jake wants to find out if the size of a fruit has any effect on the total sales for the week of that particular fruit, what c
    15·1 answer
  • Discuss advantages and disadvantages of operating system
    8·2 answers
  • If any one answered this i will give brilientst what is stimulation program​
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!