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!
input marks of c and c++ if c grater than equal to 50 grater than 50 you are pass if c greater than equal to 50 c++ less than 50 than supplementry c++ if c less then 50 and c++ gra
Receive 3 numbers and display them in ascending order from smallest to largest ed#
Define Multi File Program? While writing large programs we must divide programs up into modules. These would be separate source files and the main() function would be in one fi
Question: (a) Explain the function fseek(). Using an appropriate example, write the full syntax for this function. (b) Write a C or C++ program that will perform the follo
y=2x-3?_(i=1)^(n+1)¦?i+2?
What does it mean to declare a 1. member function as a virtual A: (a) C++ virtual function is member function of any class, whose functionality may be over- ridden in
Question: (a) Explain a linked list. (b) Describe the three different types of linked list with the help of diagrams. (c) Give two advantages and two disadvantages
answer for this program
A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome
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
/*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