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!
a program code for superposition of sine waves
Question 1: (a) Describe the following objects and condition states: (i) ifstream and ofstream objects (ii) eof(), fail(), bad() and good() functions. (b) Write a C++ pr
Within programs we very often want to execute a different section of code, depending upon various conditions within C the If statement is used to achieve this. The If statement con
in this problem you are given a board in which some of the elements are placed as shown in below diagram.each element represent a color.fill the other element in the board,such tha
what is an array?
Explain redirection in c++
Q: Tells the operators one can override; which operators should he override? A: Bottom line: don't puzzle your users. Remember the reason of operator overloading: to decreas
By pressing ‘6’ (i.e. key’6’ one time) on the keypad, the mobile shows ‘m’ on display screen in write text message area
Declaration of Variables: Variables are declared as follows: int a; float b; Assigning value to variables: int a = 100; Declaring and assigning is called ini
Smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another. In their new technology, they are send
/*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