Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
13% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
17
Posts with Downvotes
13
Downvoting Members
3
2 Commented Posts
0 Endorsements
~8K People Reached
Favorite Tags
Member Avatar for nitish.mohiputlall

what are the codes to use to filter out my listbox as the user is typing in the textbox? the data in my listbox is from database. I have used a relay command to get all the details of an Event then place the details in an observable collection. Then …

0
165
Member Avatar for nitish.mohiputlall

here what i have acheive till now xaml <Hub x:Name="EventName" Header="Event Name" Foreground="White" > <HubSection x:Name="HubSection0" x:Uid="first" > <DataTemplate> <Grid> <ScrollViewer > <StackPanel Orientation="Vertical"> <Image HorizontalAlignment="Left" Height="100" Margin="10,10,10,20" VerticalAlignment="Top" Width="100" Source="ms-appx:///Assets/dummyuserimage.png" x:Name="EventPhoto" x:Uid="E_pic"/> <TextBlock Text="Date" FontSize="14.667" FontFamily="Segoe UI"/> <TextBlock x:Name="txtDate" FontSize="14.667" FontFamily="Segoe UI" Height="39" /> <TextBlock Text="Time" FontSize="14.667" FontFamily="Segoe UI"/> …

0
99
Member Avatar for nitish.mohiputlall

I want to hide the button in my AppBar from the HubSections i have been using the following codes but it does not work please help i have just started with c# im new to it. Thanks HubPage.xaml <Page.BottomAppBar> <CommandBar x:Name="mybar" ClosedDisplayMode="Minimal" > <CommandBar.SecondaryCommands> <AppBarButton Label="setting" Click="AppBarButton_Click"/> </CommandBar.SecondaryCommands> <AppBarButton x:Uid="CALENDAR" …

Member Avatar for rproffitt
0
163
Member Avatar for nitish.mohiputlall

Original question is as follows in the text box it should display 1 + 2 and upon clicking equal it should display the sum. With three values there are many combination 1+1,2+3+3, 1+3+3 .... but it is not working please help? the codes are not complete i'm just testing it …

Member Avatar for stultuske
0
252
Member Avatar for nitish.mohiputlall

Question : In Bouboun University's Information Systems 3 arrays are used to store student details, 1. Stud_Names (array of strings) holds the name of 100 Students 2. Stud_Map (array of strings) hold the ids of the 100 students (whose details are stored in Stud_Name) 3. Stud_Marks_Mod1 (array of floats) holds …

Member Avatar for Ancient Dragon
0
287
Member Avatar for nitish.mohiputlall

Question:write a function append that takes as input two queues Q1 and Q2, appends the content of Q2 to Q1 and returns Q1. The protoype of the function is: queue<float> append(queue<float> Q1, queue<float> Q2); My problem here im completly stuck i do not understand how to work it. here are …

Member Avatar for jkhippie
0
291
Member Avatar for nitish.mohiputlall

here is the question: "write a program , which has as content "time is a great teacher but unfortunately it kills all its pupils" and outputs th reverse string to the disk file out.txt. My problem is that im stuck with the part on how to display the sentence in …

Member Avatar for VertexF3
0
146
Member Avatar for nitish.mohiputlall

Here is the question: Write a program that creates a queue of Strings and allows the input of an integer value n, followed by n names to be placed in the queue. Then the program should execute a loop that performs the following: 1 It displays the name in the …

Member Avatar for Moschops
0
135
Member Avatar for nitish.mohiputlall

here is the question: The series of numbers: 1, 1, 2, 3, 5, 8, 13, 21, ….is known as Fibonacci series. Each number is the sum of the two preceding numbers. Write a C++ program that writes the first 5 Fibonacci numbers to a file fibnos.txt (in your local drive). …

Member Avatar for vmanes
0
204
Member Avatar for nitish.mohiputlall

My program displays the details of 2 students. name id address module code and module marks. my program works well but the problem is when i enter the details of the 2nd student i am not able to enter the name as if it skip this first part and go …

Member Avatar for StuXYZ
0
149
Member Avatar for nitish.mohiputlall

here are my codes: #ifndef STUDENT_H #define STUDENT_H class student { public: void enterDetails(); void enterModule(); void displayDetails(); private: char name[100]; char studID[100]; char address[100]; char module[100]; }; #endif i want to add a 2d array "M[row][col]" in my class but i don't know how to do it anyone help?

Member Avatar for Edward_3
0
179
Member Avatar for nitish.mohiputlall

The question: Modify the first Loop so that the values in the array data are initialized to multiples of 2 as follows: 2,4,6,....,20. here is the original codes that has been set in the question paper: #include <stdio.h> #define numitems 10 int main(int argc, char* argv[]) { int data[numitems]; int …

Member Avatar for David W
-1
137
Member Avatar for nitish.mohiputlall

here is the original codes that has been set in the question paper: #include <stdio.h> #define numitems 10 int main(int argc, char* argv[]) { int data[numitems]; int i; int *ptr; for(ptr = data; ptr < &data[numitems]; ptr++) *ptr = 0; for (i=0;i<numitems;i++) printf("data[%d]=%d\n", i, data[i]); return 0; } HERE ARE …

Member Avatar for 2teez
0
529
Member Avatar for nitish.mohiputlall

here is the original codes that has been set in the question paper: #include <stdio.h> #define numitems 10 int main(int argc, char* argv[]) { int data[numitems]; int i; int *ptr; for(ptr = data; ptr < &data[numitems]; ptr++) *ptr = 0; for (i=0;i<numitems;i++) printf("data[%d]=%d\n", i, data[i]); return 0; } HERE ARE …

0
88
Member Avatar for nitish.mohiputlall

i have to add two matrices and i am having this error: "error array subscript is not an integer" line 24 here are my codes: #include <stdio.h> void inputarray(int arg[][3], int rows); void printarray (int arg[][3], int rows); void inputarray2(int arg[][3], int rows); void printarray2(int arg[][3], int rows); int main …

Member Avatar for Schol-R-LEA
0
2K
Member Avatar for nitish.mohiputlall

I am having 4 errors with the main program and i dn't know how to slove it anyone to help me how to solve the errors and how the codes was suppose to be correctly typed: 1.error: 'salaried' was not declared in this scope (line 5) 2.error: expected primary expression …

Member Avatar for Moschops
0
2K
Member Avatar for nitish.mohiputlall

Here is my question: Write a program that reads from the keyboard an initial balance b, the annual rate of interest r and the projected balance you want to reach. The program should then display the number of monthe it will take for the balance to reach the projected balance. …

Member Avatar for Banfa
0
173
Member Avatar for nitish.mohiputlall

The Question: Write a function main that prompts a user to enter the number of different items that he intends to purchase from a showroom.Your program should read for each item the quantity to purchase and the unit price then finally display total amount to be paid anyone help me …

Member Avatar for ddanbe
0
151
Member Avatar for nitish.mohiputlall

here is the question: Write a program that accepts a positive integer. Use a function to calculate the factorial of that number. my codes: #include <stdio.h> #include <stdlib.h> int fun(int z); int main() { int n,x,fact; printf("enter a number: "); scanf("%d",&n); fact=fun(n); printf("factorial of %d is %ld\n" ,n,fact); system("pause"); return(0); …

Member Avatar for Assembly Guy
0
166
Member Avatar for nitish.mohiputlall

Here is the question: Write a program containing a function that takes has 2 integer parameters x and y and returns the value of x^2 + y^2. My codes: #include<stdio.h> #include<stdlib.h> int Myfun(int x,int y); int main() { int n,p,k,sum=0; printf("Enter 1st integer: "); scanf("%d", &n); printf("Enter 2nd integer: "); …

Member Avatar for robsonminag
0
144
Member Avatar for nitish.mohiputlall

Here is the question: Write a function which accepts an integer N and returns the sum of first N numbers. and here are my codes: #include<stdio.h> #include<stdlib.h> int Myfun(int x); int main() { int a, sum; printf("Enter an integer: "); scanf("%d", &a); printf("sum is %d\n", sum); system("pause"); return (1); } …

Member Avatar for Ancient Dragon
0
119
Member Avatar for nitish.mohiputlall

Write a program that converts numbers to words. For example, 895 results in "eight nine five." here are my codes: #include<stdio.h> #include<stdlib.h> int main() { printf(">>This program converts numbers to words :)\n"); int value; printf("Enter value: "); scanf("%d",&value); switch(value){ case 0: { printf("zero"); break;} case 1: { printf("one"); break;} case …

Member Avatar for Rahul47
0
213
Member Avatar for nitish.mohiputlall

Write a program that displays the outline of a box five characters wide and five characters tall. Use the ‘*’ character for the box outline. here are my codes: #include <stdio.h> #include <stdlib.h> int main() { printf("%c\v", '*'); printf("%c\v", '*'); printf("%c\v", '*'); printf("%c\v", '*'); printf("%c\n", '*'); printf("%c%8c\n", '*','*'); printf("%c%8c\n", '*','*'); …

Member Avatar for Adak
0
244
Member Avatar for nitish.mohiputlall

Write a program to calculate the estimated journey time of a train. The program should request and read the distance in miles and the average speed in miles per hour, and display the estimated journey time in hours and minutes to the nearest minute. Test your program with: a) Distance …

Member Avatar for ddanbe
0
111
Member Avatar for nitish.mohiputlall

Write MATLAB codes to recover the arrays x and y from the text file here is the text file contents: The following tabulates the pairs (x,y) where y=x^2-x+2 1 2 2 4 3 8 4 14 5 22 6 32 7 44 8 58 9 74 10 92 and here …

Member Avatar for Reddyfox
0
121
Member Avatar for nitish.mohiputlall

i have to write a function to evaluate the sine of any real number exactly 8 decimal number, using the given formula: [sin(x) = x - x^3/3! + x^5/5! - x^7/7! + ....] Anyone please help me i can not workout this question, atleast the body of the program or …

Member Avatar for rubberman
0
71
Member Avatar for nitish.mohiputlall

FUNCTIONS the question is as follows: write a function, ComputeAmount, that takes as input the quantity of an item and the item unit price, and returns the net amount to be paid by customer. my program is working correctly please advise me what i did wrong here are the codes: …

Member Avatar for rubberman
-1
146
Member Avatar for nitish.mohiputlall

write a program that prompts the user to input a positive integer , if the user enters zero or a negative value for nu, it prompts user to input num again and repets this process untill unser inputs a correct value. it then display the sum of the numbers 1 …

Member Avatar for ddanbe
-1
229
Member Avatar for nitish.mohiputlall
Member Avatar for Bchandaria
-2
105
Member Avatar for nitish.mohiputlall

(i)Write a function in C Programming Language, isEven(), that takes an integer value as argument and returns 1 if the latter is even, otherwise returns 0 (zero). (ii)The function isEven() is saved to the file 'usefulfunctions.h'. You are required to write a C program that allows the user to enter …

Member Avatar for Ancient Dragon
-1
193