since Nov 29, 2019

Cows and Likes

Cows

Total received

0

In last 30 days

0

Total given

0

Likes

Total received

0

Received in last 30 days

0

Total given

0

Given in last 30 days

0

Forums and Threads

Scavenger Hunt

Ranch Hand Scavenger Hunt

Greenhorn Scavenger Hunt

I tried to do like this, but I dont know how to make the computer ask for specific number öre.

1 week ago

This is what I have tried. I did it in days, but it need to be money first.I feel like my code is not what its supose to do.

1 week ago

I need to make a program that tells me in how many days do i need to work to get a specific sallary.

Step 1)The program needs to ask how much salary I want.

Step 2)The program will give me as an answer how many days I need to work to get the salary.

For each day the salary doubles with 2.

Day 1 = 1 dollar

Day 2 = 2 dollar

day 3 = 4 dollar

.......I can only work for 30 days

I need to calculate how many days it takes to get the salary im asking for.

For 1000000 dollar then I should get 27 days.

What Problem I have with this question is that I have no idea how to make a loop for this. I dont know how to approach this question. Im a totally beginner in this subject. Please someone explain and show how to do this.

(I need use loops for this question)

Step 1)The program needs to ask how much salary I want.

Step 2)The program will give me as an answer how many days I need to work to get the salary.

For each day the salary doubles with 2.

Day 1 = 1 dollar

Day 2 = 2 dollar

day 3 = 4 dollar

.......I can only work for 30 days

I need to calculate how many days it takes to get the salary im asking for.

For 1000000 dollar then I should get 27 days.

What Problem I have with this question is that I have no idea how to make a loop for this. I dont know how to approach this question. Im a totally beginner in this subject. Please someone explain and show how to do this.

(I need use loops for this question)

1 week ago