Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~4K People Reached
Favorite Forums
Favorite Tags
Member Avatar for aslam.junaid786

package abc; import java.util.*; public class TransformCharacters { public static String changeCharacters(String string) { for (int i = 0; i < string.length(); i++) { char ch = string.charAt(i); { if (Character.isUpperCase(ch)) string.replace(ch, '1'); } } return string; } public static void main(String[] args) { // TODO Auto-generated method stub String …

Member Avatar for ObSys
0
201
Member Avatar for aslam.junaid786

CREATE TABLE Artist ( A_id INT NOT NULL, A_song varchar(100), A_name varchar(100), PRIMARY KEY(A_id,A_song) ); CREATE TABLE Instrument ( I_id int NOT NULL, I_keys varchar(100), I_name varchar(100), PRIMARY KEY(I_id,I_name), a_id int NOT NULL, FOREIGN KEY (a_id) references Artist(A_id) ); CREATE TABLE Song ( S_id int NOT NULL PRIMARY KEY, S_vocalist …

Member Avatar for diafol
0
2K
Member Avatar for aslam.junaid786

In this main class I used a **ListIterator** variable, **hasnext()** and **next()** method to print LIST memebers. I created litr variable of ListIterator, I performed some functions on the list i.e, sorting(ascending and descending) etc. I used the same litr variable and a while loop for outputing the list again …

Member Avatar for JamesCherrill
0
335
Member Avatar for aslam.junaid786

**Create a class Employee with name, Id and salary as data members. Provide appropriate constructors, set, get and display methods in the class. In the main program, use a do-while loop to enter data for employees as long as the user desires and save all data to a file. Once …

Member Avatar for Schol-R-LEA
0
233
Member Avatar for aslam.junaid786

#include "stdafx.h" #include<iostream> #include<conio.h> #include<string> using namespace std; //--------------------------------Structures--------------------------------// struct datee { int month; int days; int years; }; struct book { string bookname; string bookpublisher; string authorName; int copies; int price; int edition; datee date; }; //---------------------------Function Prototypes----------------------------// void titleheader(); void menu(); void addbook(book b[],int i); void display(book b[],int …

Member Avatar for john.w.austin.39
0
189
Member Avatar for aslam.junaid786

**CODE** #include "stdafx.h" #include<iostream> #include<conio.h> #include<string> #include<fstream> using namespace std; //---------------------------Function Prototypes----------------------------// void titleheader(); void menu(); void addbook(); void display(); //--------------------------Main Function---------------------------------// int _tmain(int argc, _TCHAR* argv[]) { int op; titleheader(); menu(); cout<<"\nPress option key to activate the required function: "; cin>>op; switch (op) { case 1: { system("cls"); titleheader(); …

Member Avatar for aslam.junaid786
0
908
Member Avatar for aslam.junaid786

CODE #include "stdafx.h" #include<iostream> #include<conio.h> #include<string> #include<fstream> using namespace std; //---------------------------Function Prototypes----------------------------// void titleheader(); void menu(); void addbook(); void display(); //--------------------------Main Function---------------------------------// int _tmain(int argc, _TCHAR* argv[]) { int op; titleheader(); menu(); cout<<"\nPress option key to activate the required function: "; cin>>op; switch (op) { case 1: { system("cls"); titleheader(); …

Member Avatar for aslam.junaid786
0
210