Posts

Bmi calculator with java by Indranil Bhattacharjee.

Bmi calculator in java with Brithish rule &  Metrix rule in java. and say overweight,Obese,under weight etc.   import java . util . Scanner ; class BMICal {     public static void main ( String [] args ) {         float bmi , kg , m , lb , inch ;         char choice , ch ;         Scanner sc = new Scanner ( System . in );         System . out . print ( "weight in kg Y/N ?" );         choice = sc . next (). charAt ( 0 );         switch ( choice ) {             case 'Y' :                 System . out . print ( "Enter weight in kg:-" );                 kg = sc . nextFloat ();                 System . out . print ( "Enter height in inch y/n:-" );           ...

Queue with Array in c by Indranil Bhattacharjee

Image
        Welcome Study Global write a program Queue data structure in c programming by Indranil Bhattacharjee. #include <stdio.h> #include <stdlib.h> #define N 5 int front = - 1 ; int rear = - 1 ; int array [ N ]; void enqueue ( int v ) {     if ( rear == N - 1 )     {         printf ( "Queue is overflow" );     }     else if ( front == - 1 && rear == - 1 )     {         front = rear = 0 ;         array [ rear ] = v ;     }     else     {         rear ++ ;         array [ rear ] = v ;     } } void dequeue () {     if ( front == - 1 && rear == - 1 )     {         printf ( "Queue underflow" );     }     else if ( front == rear )     {...

Doubly Linklist Implemention program in c by Indranil Bhattacharjee.

Image
Welcome Study Global   #include <stdio.h> #include <stdlib.h> struct node {     int data ;     struct node * next ;     struct node * prev ;     }; struct node * next , * ptr , * temp , * newnode ;     struct node * head = NULL ; struct node * creatDoublylinklist (){     int ch ;     while ( 1 )     {       newnode = ( struct node * ) malloc ( sizeof ( struct node ));       printf ( "Enter the value:" );       scanf ( " %d " , & newnode -> data );       newnode -> next = NULL ;       newnode -> prev = NULL ;     if ( head == NULL ){         head = temp = newnode ;     }     else {         temp -> next = newnode ;         newnode -> prev = temp ;         temp = newnode ;   ...

Gender_game make with java produced by Indranil Bhattacharjee.

Image
Welcome My Study Global write a program in java select gender. If gender 'm'for male then he is called mr. he's name or if gender 'f' for female then program asked she's married or unmarried .If she's married then called mrs.she's title or she's unmarried then called she,s full name. import java . util . Scanner ; class Gender {     public static void main ( String args []) {         Scanner sc = new Scanner ( System . in );         System . out . print ( "What is your gender (M or F): " );         char g = sc . next (). charAt ( 0 );         sc . nextLine ();         switch ( g ) {             case 'M' :                 System . out . print ( "First name: " );                 String h = sc . nextLine ();             ...

Month name using method in java by Indranil Bhattacharjee

Image
Welcome My Study Global This is the output of  Month name using method in java. Month name print with string and using method in java. This problem source code is provide by Indranil Bhattacharjee. This is the correct code .If it is helpful for you then please share this web link.   class Moth_name { public static void main ( String [] args ) {         String month1 = month_name ( 1 );         String month2 = month_name ( 2 );         String month3 = month_name ( 3 );         String month4 = month_name ( 4 );         String month5 = month_name ( 5 );         String month6 = month_name ( 6 );         String month7 = month_name ( 7 );         String month8 = month_name ( 8 );         String month9 = month_name ( 9 );         String month10 = month...

(Area Calculator) Java Programming by Indranil Bhattachajee.

Image
Welcome to Study Global This the output Chose 5 exit the program.  Area Calculator in java import java . util . Scanner ; public class Area_Calculator {     public static void main ( String args []) {         int shape , result ;         double a ;         Scanner sc = new Scanner ( System . in );         while ( true ) {             System . out . println ( "-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= \n " );             System . out . println ( "1) Triangle" );             System . out . println ( "2) Rectangle" );             System . out . println ( "3) Square" );             System . out . println ( "4) Circle" );             System . out . println ( "5) Quit" );           ...
Image
               Welcome to Study Global    Keychain Program in java by Indranil Bhattacharjee.                  Keychain a shop import java . util . Scanner ; class Key_chain {     public static void main ( String [] args ) {         System . out . println ( "\nYe Olde Keychain Shope" );         while ( true ){         System . out . println ( "1. Add Keychains to Order" );         System . out . println ( "2. Remove Keychains from Order " );         System . out . println ( "3. View Current Order" );         System . out . println ( "4. Checkout \n " );             System . out . print ( "Please  enter your choice:" );         Scanner sc = new Scanner ( System . in );        ...