Skip to main content

How to increase interest in Coding and programming

             How to increase  interest in Coding and programming

About- If you try to learn your mind is not working properly then how can I increased the interest in this programming area. In my point of view if you know how to increase the programming in this section then do this work.
    



  1.  Every time does interesting programming like logical games.
  2.  Make sure that You have to realize I am a developer.
  3.  Don't give up do everyday logical coding.

    Finally, I am going to impress you to write one logical code like playing page type code so you enjoy it. programming depends on your interest if you do more than you earn more. 

coding part: import 

import java.util.Scanner;
class Game
{
public static void main(String[] args) throws InterruptedException
{
Scanner sc=new Scanner(System.in);
System.out.print("Enter your name:");
String name=sc.nextLine();
System.out.println("====================================================");
System.out.println("Hi? Welcome to Mr."+name);
System.out.println("I Hope you feel happy toady, so today is very specal day for you.");
System.out.println(" Now I am going to start game................ ");
Thread.sleep(2000);
System.out.println("So,\n If you want to know which day is better for me.");
System.out.print("Than.\n Enter Number b/w(1-7): ");
int number=sc.nextInt();
switch(number){

case 1:System.out.println("Your favorate day is \"Monday\" ");
break;
case 2:System.out.println("Your favorate day is \"Wednesday\" ");
break;
case 3:System.out.println("Your favorate day is \"Friday\" ");
break;
case 4:System.out.println("Your favorate day is \"Tuesday\" ");
break;
case 5:System.out.println("Your favorate day is \"Sunday\" ");
break;
case 6:System.out.println("Your favorate day is \"Saturday\" ");
break;
case 7:System.out.println("Your favorate day is \"Thrusday\" ");
break;

default:System.out.println("Please Select the correct Number..?");
break;


}
System.out.println("Thanku..?\n For playing Game..");

}
}


Comments

Popular posts from this blog

#Logic How to convert String Characters lower to upper and upper to low...

How to convert String Characters.  lower to upper and upper to lower How to Convert all the String character Upper and lower . If String character is lower than convert Upper If it is Upper than you have to convert a lower. I am going to introduce it is a very simple and easy way. String Conversion is very easy through the toUpperCase() and toLowerCase(); Method But I am going to do this Question without using the Inbuilt method in the class. You have to do this Only For logical coding Question. So, Finally, I am going to do this Question step-by-step if you want to watch videos than you can watch. In these videos, I discuss this question in a very simple and easy way. You have to take one class with the main method.                class Test{                 public static void main(){                    //your logic ...

Top 97 logical coding Question | for Freshers for getting a job in MNC Company | by er prince kumar

            Top 97 logical coding Question  for Freshers  If you do this you will become good logical programmers Write a Java program to perform input/output of all basic data types. Write a Java program to enter two numbers and find their sum. Write a Java program to enter two numbers and perform all arithmetic operations. Write a Java program to enter the length and breadth of a rectangle and find its perimeter. Write a Java program to enter the length and breadth of a rectangle and find its area. Write a Java program to enter the radius of a circle and find its diameter, circumference, and area. Write a Java program to enter the length in centimeter and convert it into meter and kilometer. Write a Java program to enter the temperature in Celsius and convert it into Fahrenheit. Write a Java program to enter the temperature in Fahrenheit and convert to Celsius Write a Java program to convert days into years, weeks and days....

Java objective question for written Test | Java written test objective question

                               Java objective question All the best important question ------------------------------------------------------------------------ 1. Answer: Illegal combination of final and abstract class 2. Answer: 4 3. Answer:    error: bad operand types for binary operator '=='                 System.out.println("Helo"+10==10); 4. Answer:   error: integer number too large                 System.out.println(08); Q5. ====  class Nit { public static void main(String[] args) { m1(2); } public static void m1(int i) { if (i >= 0) { m1(i - 1); } System.out.println(" " + i); }} output:  -1  0  1  2 ================================== Q.2 ------ ...