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!
railway reservation programming
give an example of function
Write a Program to illustrate passing structure to function? # include struct customer { int id; char name[15]; }; void func_struct(struct customer); main() { struct c
Programming Assignment # 1 C and UNIX The purpose of this assignment is to get you more familiar with Unix/Linux and those constructs of C that are not part of C++. Write a C
What happens while a derived-class object is developed & destroyed? A: Space is allocated (on the heap or the stack) for the full object (i.e. adequate space to store the data m
Why can't one open a file in a different directory like "..\test.dat"? A: Since " " is a tab character. You must employ forward slashes in your filenames, even on operating s
A Padovan string P(n) for a natural number n is defined as: P(0) = ‘X’ P(1) = ‘Y’ P(2) = ‘Z’ P(n) = P(n-2) + P(n-3), n>2 where + denotes string concatenation. For a string of t
Draw pie chart in c++ program: int main() { char cmd; cout cout cmd = toupper(getch());
Bit-wise Operators Some applications require operations to be done on dissimilar bits of a byte separately. Bit-wise operators offer a facility to do just that. There are vario
What do you mean by a sequential access file? - When writing programs which store and retrieve data in a file, it's possible to designate that file into various forms. - A s
/*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