1. Write an algorithm that prompts the user to enter two values stored in A and B. The algorithm should determine the larger value and store it in Max and then output Max.
2. The cost to ride the bus is as follows:
Ladyville $2.00
Sandhill $3.00
Carmelita $4.00
Orange Walk $5.00
Write an algorithm that determines and shows the cost for a person to travel to their destination.
3. The bank changes simple interest rates of 20% on loans valuing more than $10,000.00 and 15% on loans valuing $10,000.00 or less. Write an algorithm that prompts the user to enter their loan value. The algorithm should determine and calculate the interest value and the overall loan total inclusive of the interest. For loans that are $10,000.00 or less, customers must pay the loan in equal monthly payments for 5 years. For larger loans, customers must pay the loan in equal monthly payments for 8 years. The algorithm should also state the monthly payment of the customer, based on their loan value.
'This program was written by Zachary Miranda on 10/3/2019'
ReplyDeletePrint "Enter the value of your loan"
Input loan
if (loan >= 10000) then
interest = 20/100 * loan
total = interest + loan
monthly = total/96
Print "Your interest value is", interest
Print "Inclusive of interest, your loan's total value is", total
Print "And your monthly payment for the next eight years is", monthly
else
if (loan < 10000) then
interest = 15/100 * loan
total = interest + loan
monthly = total/60
Print "Your interest value is", interest
Print "Inclusive of interest, your loan's total value is", total
Print "And your monthly payment for the next five years is", monthly
end if
end if
Input key
Excellent display of logical skills! Keep it up!
Delete'This algorithm was written by L. Bolastig on 03/10/19.'
ReplyDeletePrint "How much did you loan?"
Input num1
if (num1>10000) then
total=num1*1.2
monthly=total/96
Print "Over 8 years, you must pay a monthly fee of", monthly
else
total=num1*1.15
monthly=total/60
Print "Over 5 years, you must pay a monthly fee of", monthly
end if
Input Key
'This algorithm was written by David He on 04/10/2019'
ReplyDeleteLadyville = 2.00
Sandhill = 3.00
Carmelita = 4.00
Orange_Walk = 5.00
print "Where do you need to go"
print "(1) Ladyville"
print "(2) Sandhill"
print "(3) Carmelita"
print "(4) Orange Walk"
input choice
if (choice = 1) then
print "The cost for Ladyville is $", Ladyville
end if
if (choice = 2) then
print "The cost for Sandhill is $", Sandhill
end if
if (choice = 3) then
print "The cost for Carmelita is $", Carmelita
end if
if (choice = 4) then
print "The cost for Orange Walk is $", Orange_Walk
end if
input key
2.
ReplyDelete'The algorithm is written by Tracy Zhao on 04/10/19'
lady=2.00
sand=3.00
carmelita=4.00
ow=5.00
Print"Enter your destination (Ladyville/Sandhill/Carmelita/OrangeWalk"
input des$
if(des$="Ladyville") then
print"The cost is",lady
end if
if(des$="Sandhill") then
print"The cost is", sand
end if
if(des$="Carmelita") then
print"The cost is", carmelita
end if
if(des$="OrangeWalk") then
print"The cost is",ow
end if
input key
3.
'This algorithm is written by Tracy Zhao on 04/10/19'
print"Enter your loan"
input loan
if(loan>10000) then
si=0.2*loan
sii=loan+si
print"The interest is", si
print"the overall loan total inclusive of the interest is", sii
monthb=sii/(8*12)
print"You must pay equal amounts of $",monthb
else
iss=0.15*loan
ssi=loan+iss
print"The interest is", iss
print"The overall loan is total inclusive of the interst is",ssi
months=ssi/(5*12)
print"You must pay equal amounts of $",months
end if
input key
'THis algorithm was written by Jahred Bodden'
ReplyDeletePrint "Where are you going?"
input dest$
If (dest$="Ladyville") then
Print "You fare is $2.00"
End if
If (dest$="Orange Walk") then
Print "You fare is $5.00"
End if
If (dest$="Carmelita") then
Print "You fare is $4.00"
End if
If (dest$="Sandhill") then
Print "You fare is $3.00"
End if
Input Key
'This algorithm was written by Hannah Zetina on 10/4/19'
ReplyDeletelv=2.00
sh=3.00
C=4.00
ow=5.00
Print" Ladyville =$2.00"
Print" Sandhill =$3.00"
print" Carmelita =$4.00"
print" Orange Walk =$5.00"
Print"Enter where you would like to travel to"
input ans$
if(ans$="ladyville")then
print"The cost shall be $",lv
else
if(ans$="sandhill")then
print"The cost shall be $",sh
else
if(ans$="carmelita") then
print"the cost shall be $",c
else
if(ans$="orange walk")then
print"The cost shall be $",ow
end if
end if
end if
end if
input key
1. 'This algorithm was done by Aeden Salazar on 10/4/19.'
ReplyDeletePrint "Enter a number"
input num1
Print "Enter another number"
input num2
if (num1>num2) then
Print num1,"is the bigger number"
else
if (num2>num1) then
Print num2,"is the bigger number"
end if
end if
input key
2. 'This algorithm was done by Aeden Salazar on 10/4/19.'
ReplyDeletePrint "Which bus are you taking? Please enter Ladyville, Sandhill, Carmelita, Orange Walk"
Input x$
if (x$="Ladyville") then
Print "Your cost is $2.00"
else
if (x$="Sandhill") then
Print "Your cost is $3.00"
else
if (x$="Carmelita") then
Print "Your cost is $4.00"
else
if (x$="Orange Walk") then
Print "Your cost is $5.00"
end if
end if
end if
end if
input key
'This algorithm is written by chahatt chawla on 3/10/19
ReplyDeletePrint"Where do you want to go? A=Ladyville;B=Sandhill;C=Carmelita;D=OrangeWalk"
Input des$
if (des$ = "A") then
Print"The cost to travel to Ladyville is $2.00"
End if
if (des$ = "B") then
Print"The cost to travel to Sandhill is $3.00"
End if
if(des$ = "C") then
Print"The cost to travel to Carmelita is $4.00"
End if
if (des$ = "D") then
Print"The cost to travel to Orange Walk is $5.00"
end if
Input key
'This Algorithm was written by Chahatt Chawla on 4/10/19
ReplyDeletePrint"Enter your loan value"
Input loan
if (loan > 10000.00) then
interest=loan*0.20
total=interest+loan
pay=total/96
Print"You have to pay your loan off in monthly payments of $",pay
end if
if(loan<=10000.00) then
inte=loan*0.15
tot=inte+loan
paym=tot/60
Print"You have to pay your loan off in monthly payments of $",paym
End if
Input key
'This algorithm is written by Leanna on October 4,2019'
ReplyDeleteL=2.00
C=4.00
S=3.00
O=5.00
Print"Where would you like to go today?"
Print"Press (1) for Ladyville"
Print"Press (2) for Carmelita"
Print"Press (3) for Sandhill"
Print"Press (4) for Orange Walk"
Input num
if(num=1)then
Print"The cost to go to Ladyville is $",L
end if
if(num=2)then
Print"The cost to go to Carmelita is $",C
end if
if(num=3)then
Print"The cost to go t Sandhill is $",S
end if
if(num=4)then
Print"The cost to go to Orange Walk is $",O
end if
Print"Thank you, Have a good day!"
Input Key
'This program was written by Ethan Hunt on October 4,2019'
ReplyDeleteLady=2.00
Sand=3.00
Carm=4.00
Orange=5.00
Print "What is your destination?"
Print "Input 1 for Ladyville"
Print "Input 2 for Sandhill"
Print "Input 3 for Carmelita"
Print "Input 4 for Orange Walk"
input place
if (place=1)then
Print "The cost to ride to Ladyville is $",Lady
else
if (place=2)then
Print "The cost to ride to Sandhill is $",Sand
else
if (place=3)then
Print "The cost to ride to Carmelita is $",Carm
else
Print "The cost to ride to Orange Walk is $",Orange
end if
end if
end if
input key
print"press 1 for ladyville, 2 for sandhill, 3 for carmelita, and 4 for orange walk"
ReplyDeleteinput num1
if (num1=1)then
print "that will cost $2.00"
else
if (num1=2)then
print"that will cost $3.00"
else
if (num1=3)then
print"that will cost $4.00"
else
if (num1=4)then
print"that will cost $5.00"
else
print "error"
end if
end if
end if
end if
input key
Print"Enter a value"
ReplyDeleteinput a
Print"Enter another value"
input b
if(a>=)then
Print"The larger value is",a
else
Print"The larger valude is",b
end if
input key
lv=2
sh=3
cm=4
ow=5
Print"Enter the bus you are taking"
input nam$
if(nams$="Ladyville")then
Print"The cost of ur bus will be",lv
else
if(nams$="Sandhill")then
Print"The cost of ur bus will be",sh
else
if(nams$="Carmelita")then
Print"The cost of ur bus will be",cm
else
if(nams$="OrangeWalk")then
Print"The cost of ur bus will be",lv
end if
end if
end if
end if
input key
Jamison Jones
Delete'Written by Kent Haylock 04/10/19'
ReplyDeleteLv = 2
Sh = 3
Cl = 4
Ow = 5
Print "___________________________"
Print "| Bus Lines |"
Print "| 1. Ladyville $2.00 |"
Print "| 2. Sandhill $3.00 |"
Print "| 3. Carmelita $4.00 |"
Print "| 4. Orange Walk $5.00 |"
Print "|_________________________|"
Print "Enter the number of which district you would like to go too."
input num
If (num = 1) then
num = Lv
Print "The cost to travel to Ladyville is",Lv,"dollars"
else
if (num = 2) then
num = Sh
Print "The cost to travel to Ladyville is",Sh,"dollars"
else
if (num = 3) then
num = Cl
Print "The cost to travel to Ladyville is",Cl,"dollars"
else
if (num = 4) then
num = Ow
Print "The cost to travel to Ladyville is",Ow,"dollars"
else if
end if
end if
end if
end if
input key
'This algorthim is written by Joslyn Kee on 10/4/19'
ReplyDeleteLadyville =2.00
Sandhill =3.00
Carmilita =4.00
Orangewalk =5.00
Print"Enter your destination"
input dis$
if(dis$="Ladyville") then
print"The cost is",ladyville
end if
if(dis$="Sandhill") then
print"The cost is", sandhill
end if
if(dis$="Carmelita") then
print"The cost is", carmelita
end if
if(dis$="OrangeWalk") then
print"The cost is",orangewalk
end if
input key
'This algorithm was written by Victoria Usher on the 4th of October, 2019'
ReplyDeletePrint "Ladyville(1), Sandhill (2), Carmelita (3), Orange Walk (4)"
Print "Enter the number of where you are travelling"
input place%
if (place=1)then
print"Your cost is $2.00"
else
if (place=2)then
print"Your cost is $3.00"
else
if (place=3)then
print"Your cost is $4.00"
else
if (place=4)then
print"Your cost is $5.00"
end if
end if
end if
end if
Print"Thank you for using our service, have a good day! :)"
input key
this algorihtm was written by kristie roberts on october 4, 2019'
ReplyDeleteladyville= 2.00
sandhill= 3.00
carmelita= 4.00
orangewalk= 5.00
print"enter your destinaition"
input des$
if(des$=ladyville)then
print"your total is 2.00"
else
if(des$=sandhill)then
print"your total is 3.00"
else
if(des$=carmelita)then
print"your total is 4.00"
else
if(des$=orangewalk)then
print"youir total is 5.00"
end if
end if
end if
end if
print"have a nice day"
input key
'This algorithm is written by D.Gurnani on October 4th, 2019'
ReplyDeleteL = 2.00
S = 3.00
C = 4.00
O = 5.00
Ladyville = 1
Sandhill = 2
Carmelita = 3
OrangeWalk = 4
Print"Enter your destination"
input num1
if(num1 = 1)then
Print"The cost of your trip to Ladyville is",L
end if
if(num1 = 2)then
Print"The cost of your trip to Sandhill is",S
end if
if(num2 = 3)then
Print"The cost of your trip to Carmelita is",C
end if
if(num1 = 4)then
Print"The cost of your trip to Orange Walk is",O
end if
input key
'This algorithm was writen by Hailey Diaz on October 4, 2019'
ReplyDeleteLadyville = 2.00
Sandhill = 3.00
Carmelita = 4.00
OrangeWalk = 5.00
Print "Enter your destination"
Input d$
if (d$="Ladyville") then
Print "Your cost is $" , Ladyville
else
if (d$="Sandhill") then
Print "Your cost is $" ,Sandhill
else
if (d$="Carmelita") then
Print "Your cost is $" ,Carmelita
else
if (d$="OrangeWalk") then
Print "Your cost is $" ,OrangeWalk
end if
end if
end if
end if
Print "Thank You!"
Input Key
'this algorithm was written by chase wagner on 10/04/19'
ReplyDeletePrint "Where is your destination?"
input des$
If (des$="Ladyville") then
Print "it will cost $2.00"
End if
If (des$="Sandhill") then
Print "it will cost $3.00"
End if
If (des$="Carmelita") then
Print "it will cost $4.00"
End if
If (des$="OrangeWalk") then
Print "it will cost $5.00"
End if
Input Key
'These algorithms was made by Jamison Jones'
ReplyDeletePrint"Enter a value"
input a
Print"Enter another value"
input b
if(a>=b)then
Print"The larger value is",a
else
Print"The larger valude is",b
end if
input key
lv=2
sh=3
cm=4
ow=5
Print"Enter the bus you are taking"
input nam$
if(nams$="Ladyville")then
Print"The cost of ur bus will be",lv
else
if(nams$="Sandhill")then
Print"The cost of ur bus will be",sh
else
if(nams$="Carmelita")then
Print"The cost of ur bus will be",cm
else
if(nams$="OrangeWalk")then
Print"The cost of ur bus will be",lv
end if
end if
end if
end if
input key
'This algorithm was written by David He on 04/10/2019'
ReplyDelete'If more than $10,000.00 interest is 20% for 5 years'
'If is or less than $10,000.00 interest is 15% for 8 years'
more = 0.2
less = 0.15
tenthousand = 10000
print "What's your loan"
input loan
if (loan <= tenthousand) then
print "Loan interest = 15%"
print "Loan with interes = $", (loan+(loan * less))
monthly1 = loan * less * (1/(12*5))
print "Monthly payment = $", monthly
rate1 = loan * more
end if
if (loan > tenthousand) then
print "Loan interest = 20%"
print "Loan with interest = $", (loan+(loan * more))
monthly2 = loan * more * (1/(12*8))
print "Monthly payment = $", monthly
rate2 = loan * more
end if
input key
'This algorithm was written by Hannah Zetina on 10/4/19'
ReplyDeletePrint"Enter the your loan"
in=20
i=15
input lo
if(lo>=10000)then
interest=(lo*(in/100))
tot=(interest+lo)
mon=tot/96
Print"Your interest vlaue will be",interest
Print"The inclusive of interest and the loan total value is",tot
print"Your monthly payments for the next 8 years will be",mon
else
if(lo<=10000)then
interest=(lo*(i/100))
tot=(interest+lo)
mon=tot/60
Print"Your interest vlaue will be",interest
Print"The inclusive of interest and the loan total value is",tot
print"Your monthly payments for the next 5 years will be",mon
end if
end if
input key
'THis algorithm was written by Jahred Bodden'
ReplyDeletePrint "Please enter the value of the loan"
input grossloan
If (grossloan>10000) then
intval=grossloan*0.2
owed=grossloan+intval
month=owed/96
Print "Your interest will be: $",intval
Print "Your total amount to paid is: $",owed
Print "You monthly payment over 96 months is: $",month
End if
If (grossloan<10000) then
intval=grossloan*0.15
owed=grossloan+intval
month=owed/60
Print "Your interest will be: $",intval
Print "Your total amount to paid is: $",owed
Print "You monthly payment over 60 months is: $",month
End if
Input key
Business and Personal Loans, Loans ranging from $5,000-$100,000,000.
ReplyDeleteWe Offer suitable financial services Globally,Business and Personal Loans, Loans ranging from $5,000-$100,000,000.Our passion is helping ones in need.Feel free to engage our leased facilities as We have provided over $2 Billion in business loans to over 25,000 business owners just like you. We use our own designated risk technology to provide you with the right business loan so you can grow your business. Our services are fast and reliable, loans are approved within 24 hours of successful application. * Personal loans, * Truck Loans * Car Loans * Real Estate Loans * Refinancing Loans * Debt consolidation loans * Education Loans * Farm Loans * Corporate Loans * Business Start-up Loans We offer loans from a minimum range of $5,000 to a maximum of $500 million, Better loan services Will give you loan with an affordable interest rate of 3% and loan duration of 1 to 30 years to pay back the loan (secure and unsecured). Our aim is to provide Excellent Professional Financial Services. Intermediaries/Consultants/Brokers are welcome to bring their clients and are 100% protected. In complete confidence, we will work together for the benefits of all parties involved. Do not keep your financial problems to yourself in order for you not to be debt master or financial stress up, which is why you must contact us quickly for a solution to your financial problems. It will be a great joy to us when you are financially stable Email us via: betterloancompany@gmail.com.Better loan firm We are certified and offer fast and reliable services.(betterloancompany@gmail.com)
Business and Personal Loans, Loans ranging from $5,000-$100,000,000.
ReplyDeleteWe Offer suitable financial services Globally,Business and Personal Loans, Loans ranging from $5,000-$100,000,000.Our passion is helping ones in need.Feel free to engage our leased facilities as We have provided over $2 Billion in business loans to over 25,000 business owners just like you. We use our own designated risk technology to provide you with the right business loan so you can grow your business. Our services are fast and reliable, loans are approved within 24 hours of successful application. * Personal loans, * Truck Loans * Car Loans * Real Estate Loans * Refinancing Loans * Debt consolidation loans * Education Loans * Farm Loans * Corporate Loans * Business Start-up Loans We offer loans from a minimum range of $5,000 to a maximum of $500 million, Better loan services Will give you loan with an affordable interest rate of 3% and loan duration of 1 to 30 years to pay back the loan (secure and unsecured). Our aim is to provide Excellent Professional Financial Services. Intermediaries/Consultants/Brokers are welcome to bring their clients and are 100% protected. In complete confidence, we will work together for the benefits of all parties involved. Do not keep your financial problems to yourself in order for you not to be debt master or financial stress up, which is why you must contact us quickly for a solution to your financial problems. It will be a great joy to us when you are financially stable Email us via: betterloancompany@gmail.com.Better loan firm We are certified and offer fast and reliable services.(betterloancompany@gmail.com)
Business and Personal Loans, Loans ranging from $5,000-$100,000,000.
ReplyDeleteWe Offer suitable financial services Globally,Business and Personal Loans, Loans ranging from $5,000-$100,000,000.Our passion is helping ones in need.Feel free to engage our leased facilities as We have provided over $2 Billion in business loans to over 25,000 business owners just like you. We use our own designated risk technology to provide you with the right business loan so you can grow your business. Our services are fast and reliable, loans are approved within 24 hours of successful application. * Personal loans, * Truck Loans * Car Loans * Real Estate Loans * Refinancing Loans * Debt consolidation loans * Education Loans * Farm Loans * Corporate Loans * Business Start-up Loans We offer loans from a minimum range of $5,000 to a maximum of $500 million, Better loan services Will give you loan with an affordable interest rate of 3% and loan duration of 1 to 30 years to pay back the loan (secure and unsecured). Our aim is to provide Excellent Professional Financial Services. Intermediaries/Consultants/Brokers are welcome to bring their clients and are 100% protected. In complete confidence, we will work together for the benefits of all parties involved. Do not keep your financial problems to yourself in order for you not to be debt master or financial stress up, which is why you must contact us quickly for a solution to your financial problems. It will be a great joy to us when you are financially stable Email us via: betterloancompany@gmail.com.Better loan firm We are certified and offer fast and reliable services.(betterloancompany@gmail.com)