35,618 Topics
![]() | |
I need help with this super soon! The assignment is to count the syllables assuming that every time a vowel directly follows a consonant there is a new syllable. This is the code I have so far! Thanks for your help! import java.util.Scanner; public class Syllables { public static void … | |
So sorry for brief periods of the CSS and Javascript files not being properly loaded earlier today. However, on the bright side, we now have CSS/JS versioning properly set up again, which means I'm going to stop asking you guys to clear your browser cache whenever I release a new … | |
I am good in different languages, that is: Java, python, C#, VB.NET, php, javascript I have been programming for a while now it's about 2 and half years but the issue is when I focus on one language I tend to concentrate on it more than the others which leads … | |
How to integrate Suprema BioMini device into Excel Time & Attendance application for biometric login? | |
I've been trying to get into coding but I really wanna learn how to make a menu visible and invisible when you select the letter i | |
/* l=first index r=last index */ import java.util.Scanner; public class BinarySearch{ public static void main(String[]args){ int a[]={1,2,3,4,5,6,7,8,9,10}; Scanner sc=new Scanner(System.in); System.out.print("Enter a data to search :"); int data=sc.nextInt(); int l=0,r=a.length-1; while(l<r){ int mid=(l+r)/2; if(data==a[mid]){ System.out.println("data found at "+mid+"th index."); break; }else if(data<a[mid]){ r=mid-1; }else{ l=mid+1; } mid=(l+r)/2; if(data!=a[mid]){ System.out.print("not found"); … | |
Dear software developers, We are researchers aiming to understand developers' knowledge needs and program comprehension. Our intention is to support practitioners in selecting tools that can facilitate developers' tasks. Moreover, we hope that our research results in the development of new tools that are customized to the actual needs of … | |
I am trying to pass url parameters to an angular js page for page setup. I was wondering if anyone could tell me whether I am missing something from these two code samples. The following is some code from a game related program that I am writing. The $routeProvider parameter … | |
I am taking a class on RN with Kotlin and got stuck on this assignment. When I try to pass an array of integers from JS to Kotlin, I get the error java.lang.RuntimeException: Got unknown argument class: int[]. Calculator.kt @ReactMethod fun getSum(values: IntArray, callback: Callback){ var total = 0; // … | |
I am making an adroid application. I am saving sales data on firebase with current date. I have formatted the System.currentTimeMillis() into SimpleDateFormat. The date is successfully stored on firebase . Now I want to retrieve sales between two dates. I made two demo sales, one on (30-5-2019) and second … | |
Hi have 2`springboot` applications running on ports `8085` and `8084`. When I try to use `RestTemplate` to try to connect from one service to another, I get a `BadGateway 502` exception. Below is the stacktrace head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.9</center> </body> </html> ]] with root cause org.springframework.web.client.HttpServerErrorException$BadGateway: … | |
Am still at school and am doing programming, and I choose these forum because it will be helpful for me in gaining the knowledge and experience on c++ and many other programming language. | |
Hi All, I have an excel file containg chart.I am able to read the chart from excel file using POI XSSF. But I am not able to save the XSSFChart as an image.I want the chart to be stored in my harddrive as an image(.jpg or .png).Please find my code … | |
How to add meeting host/meeting controler How to allow meeting host to set another person as host How to add signing with account https://jitsi.org/jitsi-meet/ | |
What are all num referring to ? class Sample { int num; void method() { num = 1; int num = num = 2; num = 3; } } | |
Unit conversion. Write a unit conversion program that asks the users from which unit they want to convert (fl. oz, gal, ft) and to which unit they want to convert (ml, l, m). Reject incompatible conversions (such as gal→ m). Ask for the value to be converted, then display the … | |
Hi, could you please let me know what should I learn first about programing? I mean, may be I need to learn HTML, C++, Java, read a specific book, I don't know where to start and hope you can show me the way, please!! I would really appreciate it | |
I was doing GUI based application, when i run the MyChatPage particularly, it able to send the text to the server and send to the client textarea, which is my objective, but if i run from MyChatIP class and create new object to open the MyCHatpage frame, it will hang, … | |
import java.util.Scanner; class bank{ public void termDeposit(){ int principle; double rate,years; Scanner sc=new Scanner(System.in); System.out.print("Enter Principle Amount : "); principle = sc.nextInt(); System.out.print("Enter rate od interest : "); rate = sc.nextDouble(); System.out.print("Enter time period in years : "); years = sc.nextDouble(); double maturityAmount = (principle*(Math.pow(1+(rate/100),years))); System.out.println("Maturity Amount after " +years+ … | |
I have a problem: I can't get the correct answer from the webservice. The two parameters are correct and the source seems to me to be correct. The system does not require authentication ... What am I doing wrong? <? try { $wsdl = "http://wsr.brt.it:10041/web/GetIdSpedizioneByRMNService/GetIdSpedizioneByRMN?wsdl"; $client = new SoapClient($wsdl); $result … | |
I have a class which is sort of like a repository, and every time I write to the zip archive using this command, the prior activity is overwritten. /// <summary> /// Insert file into existing archive file. /// </summary> /// <param name="fullPath"></param> /// <param name="stream"></param> public void InsertIntoFile(String fullPath, Stream … | |
![]() | How can I solve this ? implement java program, green land zoo park has four types of animals, elephants that drink water, monkeys that eat bananas, flamingo that fly, and lions that eat meat, using your understanding of inheritance |
Hi, how i can do translator a word offline to frensh in english in java i find Moses,stanford phrasal .. but i can't find a simple example for understand i need help please and thanks | |
The solution of the problem includes modeling and realization of the process of issuing cash receipts in a store. It is necessary to create classes that store and manipulate information about: store; cashier in a store; goods in a store; cash register in a store; a receipt that is issued … | |
I'm new to Android Studio and Java and I'm trying to display a dynamic battery percentage on multiple activities, but it is only showing on the main screen. I am also trying to do the same thing with displaying time. I am trying to get it work with my second … | |
I've created a method that requests input for a grading and would like 0 to be a valid input result. But my code doesn't allow it? Can anyone help? public int getValidModuleMark3 () { Scanner input = new Scanner(System.in); int mark; System.out.println ("Enter number of compensentable failed credits in range … | |
a) Write MARIE code to: 1. Input a number and store it in X . 2. Y will be equal to “ | |
I need with with a section of my assignment where it asks to take four first attempt module results (i.e. all module average, ISM module average, number of compensentable failed credits and number of outright failed modules) as parameters and returns the degree classification (e.g. “distinction”, “merit”, “pass” or “fail”). … |
The End.