Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Difference between Echo and print statement. print()and echo() are language constructs in PHP, both are used to output strings. Both statements are of almost same Speed. ech
For the circuit shown in Figure, verify (a) the battery voltage V , (b) the total resistance of the circuit, and (c) the values of resistance of resistors R 1 , R 2 and
What is constructor or ctor?
what is c language
Question 1 What are the different steps in executing a C program? Explain Question 2 What are the commonly used input/output functions in C? How are they accessed?
Available in the string.h header file are the following routines strcat(string1,string2); This joins string2 to string1; care must be taken to allocate enough space for
Define virtual function?
convert BST into sorted doubly linked list
Define Array of Structures? An Array of Structures is an assortment of the same data types which are declared as structures. It is useful to store large and different number of
Objective Using C++ string, classes, constructors and member functions. Task A Write a program (book.cpp) to store a list of book titles and the published dates. Your pro
/*THIS PROGRAM IS MADE BY GOURAV GUPTA..............*/import java.util.*;public class Shelf { public int minimumShelf(String line) { char ch[]=line.toCharArray(); int k=0; for(int i='a';i!='z';i++) { for(int j=0;j { if(ch[j]==i) { k=-1; return k; } } } for(int i='A';i!='Z';i++) { for(int j=0;j { if(ch[j]==i) { k++; break; } } } return k; } public static void main(String args[]) { Scanner sc=new Scanner(System.in); System.out.println("Enter a string"); String str=sc.nextLine(); Shelf s=new Shelf(); System.out.println(s.minimumShelf(str)); }}
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd