main(){
output("Please enter a number")
number input = input_from_keyboard()
number answer = square_number(input)
output("Answer is: " answer)
}
square_number(number input){
number answer = input * input
return answer
}
main(){
output("Please enter a number")
number input = input_from_keyboard()
number answer = square_number(input)
output("Answer is: " answer)
}
square_number(number input){
number answer = input * input
return answer
}
Last reply 1 minute ago
Official London School of Economics and Political Science 2024 Applicant ThreadLast reply 1 minute ago
Medical doctor degree apprenticeship 2024Last reply 3 minutes ago
OCR A-Level Biology A Paper 1 (H420/01) - 5th June 2024 [Exam Chat]Last reply 4 minutes ago
Loughborough or Cardiff for architecture?Last reply 4 minutes ago
went from 3s to 9s with (literally) night before revision - ask me anything31
Last reply 4 minutes ago
Official: University of Manchester A106 2024 Entry Applicants1270
Last reply 5 minutes ago
Standard Chartered Apprenticeships 2024Posted 5 minutes ago
queen mary giving offers lower than their requirement?Last reply 6 minutes ago
Official University College London Applicant Thread for 2024Last reply 7 minutes ago
Global prospects of Durham & UCLLast reply 8 minutes ago
Official: University of Bristol A100 2024 Entry ApplicantsLast reply 10 minutes ago
2024 entry A100 / A101 Medicine fastest and slowest offer senders855
Last reply 14 minutes ago
Economics and Economic History 2024 ThreadLast reply 14 minutes ago
Can I do medicine with these gcse grades and what unis would be most likely to acceptLast reply 14 minutes ago
Official University of St Andrews Applicant Thread for 2024Last reply 1 week ago
OCR A-level Computer Science Paper 2 (H446/02) - 19th June 2023 [Exam Chat]Last reply 2 weeks ago
AQA A-level Computer Science Paper 1 (7517 1A - 1E) - 12th June 2023 [Exam Chat]Last reply 3 weeks ago
OCR A-level Computer Science Paper 1 (H446/01) - 12th June 2023 [Exam Chat]Last reply 2 months ago
OCR GCSE Computer Science Paper 1 (J277/01) - 19th May 2023 [Exam Chat]Last reply 3 months ago
AQA GCSE Computer Science Paper 2 (8525/2) - 25th May 2023 [Exam Chat]Last reply 5 months ago
AQA GCSE Computer Science Paper 1 (8525/1A, 1B, 1C) - 19th May 2023 [Exam Chat]Last reply 5 months ago
AQA Computer Science NEA and Computer science paper 1 questionLast reply 1 week ago
OCR A-level Computer Science Paper 2 (H446/02) - 19th June 2023 [Exam Chat]Last reply 2 weeks ago
AQA A-level Computer Science Paper 1 (7517 1A - 1E) - 12th June 2023 [Exam Chat]Last reply 3 weeks ago
OCR A-level Computer Science Paper 1 (H446/01) - 12th June 2023 [Exam Chat]Last reply 2 months ago
OCR GCSE Computer Science Paper 1 (J277/01) - 19th May 2023 [Exam Chat]Last reply 3 months ago
AQA GCSE Computer Science Paper 2 (8525/2) - 25th May 2023 [Exam Chat]Last reply 5 months ago
AQA GCSE Computer Science Paper 1 (8525/1A, 1B, 1C) - 19th May 2023 [Exam Chat]Last reply 5 months ago
AQA Computer Science NEA and Computer science paper 1 question