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.

0 Endorsements
~8K People Reached
Favorite Forums
Favorite Tags
Member Avatar for dhanh90

I'm learning MIPS structure and starting writing assembly code..and i have problem with multiplication...the thing is in mips we have HI and LO to store the product .when the product is small (32 bit) i can use mflo to print out the result..but mult two big numbers the result will …

0
59
Member Avatar for dhanh90

I have the problem like that ". Write a short Java program that outputs all possible strings formed by using the character ‘c’, ‘a’,’r’, ‘b’, ‘o’ , and ‘n’ exactly one."..and the code here: [CODE]public class StringPermutation { //---------------------------------------------------------------------------- private static char source[] = {'c', 'a', 'r', 'b', 'o', 'n'}; …

Member Avatar for apines
0
423
Member Avatar for dhanh90

I have the code here but still can not figure out why it can not work why I enter X=2, and N>= 31.... [CODE].data str: .asciiz " Inter X:" str1: .asciiz " Inter N:" str2: .asciiz " X to the power of N is : " .text main: la $a0,str …

Member Avatar for dhanh90
0
7K
Member Avatar for dhanh90

I have this code: [CODE]/* package lab; public class Main { public static void main(String[] args) { int t=0; int h=0; int w=0; String Name="http://hcmiu.edu.vn/mail/cuem"; char[] ch=new char[Name.length()]; for(int i=0;i<Name.length();i++){ ch[i]=Name.charAt(i); for(int j=0;j<Name.length();j++){ if((ch[j]=='/')&&(ch[j+1]=='/')&&(Character.isLetter(ch[j+2]))){ t=j+2; System.out.println(t); h=Name.indexOf('/', j+3); } } } System.out.println(Name.subSequence(t, h)); } } [/CODE] This code run correctly.But …

Member Avatar for dhanh90
0
163
Member Avatar for dhanh90

why the do-while couldnt return the main body when i did once.when I input n<2 and press enter, it stops and turns to error. i dont know why?could i any one told me why and how to change it and is there another code to do this loop( instead do-while).thanks …

Member Avatar for javaAddict
0
170
Member Avatar for dhanh90

I'm new to java.I write the code and dont know why its wrong.Someone can point out and modify it for me.thanks alot. Here the code[CODE]/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package OOP; import java.util.Arrays; import java.util.Scanner; /** …

Member Avatar for sneaker
0
217