Computer Science, asked by Dhwani998, 4 months ago

Please answer this question in basic-256 and attach the file here no need to answer if you don't know ​

Attachments:

Answers

Answered by allysia
1

Language:

BASIC-256

Program:

input "Enter the name of the book: ", name$

input "Enter the number  of the days: ", days

input "Enter fine per day: " , fine

total_fine= days*fine

print  "Book name: ";name$  

print  "No. of days: ";days  

print  "Total fine: "; total_fine

Output:

Enter the name of the book: Swaraj

Enter the number  of the days: 45

Enter fine per day: 5

Book name: Swaraj

No. of days: 45

Total fine: 225

Explanation:

  • Input took input in variables separated by comma.
  • $ indicates that the variable is a string.
  • print returns the output on screen.

Attachments:

(On topp if you're using the app and below if you're using the site)

Attachments:

Dhwani998: thank you so much
allysia: you're welcome ^_^
Similar questions