Computer Science, asked by nannu8239, 8 months ago

Write a program to print your name, your branch and your College name.

Answers

Answered by srajfaroquee
6

Answer:

Note: I am using C programming language.  I assumes that name of student is ABC from XYZ college.

Explanation:

#include<stdio.h>

int main() {

   

     printf("My name is ABC");

     printf("\nBrach name is CSE");

     printf("\n College name is XYZ");

return 0;

}

**Please follow me and mark this ans as Branliest answer.Thank you!

Answered by vedantsurkar255
2

Answer

import java.util.scanner

class print

{

void main()

{

Scanner sc=new Scanner (System.in);

int n,b,cn;

S.O.Pln("Enter your name");

n=sc.nextInt();

S.O.Pln("name is"+n);

S.O.Pln("Enter your branch");

b=sc.nextInt();

S.O.Pln("branch is"+b);

S.O.Pln("Enter your college name");

cn=sc.nextInt();

S.O.Pln("college name is"+cn);

}

}

The above program is in Java. Please mark as brainliest of you understood.

Similar questions