public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine("Hello World!");
    }
}

Pasted 11 hours ago

decimal salaryNet;
decimal salaryAnnual = 65000;
                //decimal medicareLevy = (salaryAnnual <= 16284 ? 0 : (salaryAnnual <= 17604 ? (salaryAnnual - 16284) * (decimal)0.2 : salaryAnnual * (decimal)0.015));
                // Medicare levy thresholds
                // https://www.ato.gov.au/Individuals/Medicare-levy/Reduction-for-people-on-low-incomes/Income-thresholds-for-Medicare-levy-reduction/
                // From 1 July 2014 the Medicare levy rose from 1.5% to 2.0%
                decimal medicareLevy = (salaryAnnual <= 20542 ? 0 : (salaryAnnual <= 24167 ? (salaryAnnual - 20542) * (decimal)0.1 : salaryAnnual * (decimal)0.02));
                if (salaryAnnual <= 18200)
                    salaryNet = salaryAnnual - medicareLevy;
                else if (salaryAnnual <= 37000)

Pasted 1 day ago

class mul
{
public static void Main(String[] args)
{
int x=0,i,j;
for(i=0;i<5;i++)
{   
    for(j=0;j<i;j++)
    {
    Console.Write("{0}",x);

Pasted 2 days ago

class mul
{
public static void Main(String[] args)
{
int x=0,i,j;
for(i=0;i<5;i++)
{   
    for(j=0;j<i;j++)
    {
Console.Write(" ");

Pasted 2 days ago

class mul
{
public static void Main(String[] args)
{
int x=0,i,j;
for(i=0;i<4;i++)
{   
    for(j=0;j<i;j++)
    {
Console.Write(" ");

Pasted 2 days ago

class mul
{
public static void Main(String[] args)
{
int x=1,i,j;
for(i=0;i<4;i++)
{   
    for(j=0;j<i;j++)
    {
Console.Write(" ");

Pasted 2 days ago

class mul
{
public static void Main(String[] args)
{
int x=1,i,j,;
for(i=0;i<4;i++)
{   
    for(j=0;j<i;j++)
    {
Console.Write(" ");

Pasted 2 days ago

class mul
{
public static void Main(String[] args)
{
int x=1,y,i,j,c;
for(i=0;i<4;i++)
{    y=1;
    for(j=0;j<i;j++)
    {
Console.Write(" ");

Pasted 2 days ago

class mul
{
public static void Main(String[] args)
{
int x=1,y,i,j,c;
for(i=0;i<4;i++)
{    y=1;
    for(j=0;j<i;j++)
    {
Console.Write(" ");

Pasted 2 days ago

class mul
{
public static void Main(String[] args)
{
int x=1,y,i,j,c;
for(i=0;i<4;i++)
{    y=1;
    for(j=0;j<i;j++)
    {
    c=x*y;

Pasted 2 days ago

class mul
{
public static void Main(String[] args)
{
int x=1,y,i,j,c;
for(i=0;i<4;i++)
{    y=1;
    for(j=0;j<i;j++)
    {
    c=x*y;

Pasted 2 days ago

class mul
{
public static void Main(String[] args)
{
int [,] a=new int[4,4];
int x=1,y,i,j,c;
for(i=0;i<4;i++)
{    y=1;
    for(j=0;j<i;j++)
    {

Pasted 2 days ago