Using default Bootstrap 3.0, here's a short CSS snippet to style your login form.
A Pen by Lawal Abdulateef Olawale on CodePen.
Console.WriteLine("Oop!! an error has occured"); | |
Console.WriteLine("Press Enter to exit the program..." + "OR" + "Press Back Space to see the error"); | |
ConsoleKeyInfo keyinfor = Console.ReadKey(true); | |
if(keyinfor.Key == ConsoleKey.Enter) | |
{ | |
System.Environment.Exit(0); | |
} | |
else if(keyinfor.Key == ConsoleKey.Backspace) | |
{ | |
Console.WriteLine(ex.Message); |
public static int Rowcount(string filepath) | |
{ | |
int lineCount = 0; | |
using(var reader = File.OpenText(filepath)) | |
{ | |
while(reader.ReadLine() != null) | |
{ | |
lineCount++; | |
} |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
class Solution { | |
static void Main(String[] args) | |
{ | |
int N = Convert.ToInt32(Console.ReadLine()); | |
string[] arr_temp = Console.ReadLine().Split(' '); | |
int[] list1 = Array.ConvertAll(arr_temp,Int32.Parse); | |
Solution.quickSortInPlace(list1); |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace Algorithms | |
{ | |
class InsertionSort2 | |
{ |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
class Solution { | |
static void Main(String[] args) { | |
/* Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution */ | |
// Console.WriteLine("Enter the Nmber of Test Case"); | |
int Size = int.Parse(Console.ReadLine()); | |
int[] input = new int[Size]; | |
int i; |
import java.util.Scanner; | |
import jdk.nashorn.internal.parser.TokenType; | |
public class ConditionStatement { | |
public static void main(String [] args){ | |
/// scanner to read input name and number | |
///though name not neccessary | |
///happy coding..... | |
Scanner input = new Scanner(System.in); | |
System.out.println("Enter your Name"); | |
String name = input.next(); |
Using default Bootstrap 3.0, here's a short CSS snippet to style your login form.
A Pen by Lawal Abdulateef Olawale on CodePen.
public static void WordCount(string word, string path) | |
{ | |
int index; | |
int occurrence = 0; | |
try | |
{ | |
StreamReader reader = new StreamReader(path); | |
using(reader) |
import java.io.*; | |
import java.util.*; | |
import java.text.*; | |
import java.math.*; | |
import java.util.regex.*; | |
public class Solution | |
{ | |
public static void main(String[] args) |
import java.util.Scanner; | |
public class Binary | |
{ | |
public static String convertToBinary(int decnumber) | |
{ | |
String binaryString = " "; | |
if (decnumber > 0) | |
{ | |
binaryString = Integer.toBinaryString(decnumber); |