Computer Science, asked by lakshmihari954, 4 days ago

please answrr this asap..whoever will answer correctly will be marked as brainliest

it must be a java program ​

Attachments:

Answers

Answered by TheKitabiKeeda
3

Answer:

import java.util.*;

class UserInputDemo1.

{

public static void main(String[] args)

{

Scanner sc= new Scanner(System.in);

System.out.print("Enter a number from 1 to 365: ");

String str= sc.nextLine();

int number=sc.nextInt();

if (number == 35){

System.out.print("Feburary 4, Friday")

}

Similar questions