Computer Science, asked by ramsmedicine, 1 month ago

3. Write a program to print your school name and your class teacher's name on a single line. Assign your school name to a variable SN and your class teacher's name to another variable TN .

Answers

Answered by CoderRishav
2

Answer:

NOTE - Please also tell us in which language. because it's important to elaborate your question for get best answers. I am giving you answer in 3 languages teaching in school Java, Python and C++ .

What is variable assign?

Think variable like a box, it stores your data in memory! variable assigning means to put something in box. we will use "=" this operator whose name is assignment operator for store data in a variable.

In Java and C++

String SN = "Name of your School";

String TN = "Name of your teacher";

In Python

SN = "Name of your School"

TN = "Name of your Teacher"

Similar questions